#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 Access {
/// Accessibility object state set.
public struct StateSet
{
private ulong payload;
/// Converts an instance of ulong to this struct.
/// The value to be converted.
/// A struct with the given value.
public static implicit operator StateSet(ulong value)
{
return new StateSet{payload=value};
}
/// Converts an instance of this struct to ulong.
/// The value to be converted packed in this struct.
/// The actual value the alias is wrapping.
public static implicit operator ulong(StateSet value)
{
return value.payload;
}
}
}
}
namespace Efl {
namespace Access {
/// Elementary Accessibility relation set type
public struct RelationSet
{
private Eina.List payload;
/// Converts an instance of Eina.List to this struct.
/// The value to be converted.
/// A struct with the given value.
public static implicit operator RelationSet(Eina.List value)
{
return new RelationSet{payload=value};
}
/// Converts an instance of this struct to Eina.List.
/// The value to be converted packed in this struct.
/// The actual value the alias is wrapping.
public static implicit operator Eina.List(RelationSet value)
{
return value.payload;
}
}
}
}
namespace Efl {
namespace Access {
/// Accessibility accessible mixin
[Efl.Access.IObjectConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IObject :
Efl.Eo.IWrapper, IDisposable
{
/// Gets an localized string describing accessible object role name.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Localized accessible object role name
System.String GetLocalizedRoleName();
/// Accessible name of the object.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible name
System.String GetI18nName();
/// Accessible name of the object.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible name
void SetI18nName(System.String i18n_name);
/// Sets name information callback about widget.
/// if WEARABLE since_tizen 3.0 endif
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// reading information callback
void SetNameCb(Efl.Access.ReadingInfoCb name_cb, System.IntPtr data);
/// Gets an all relations between accessible object and other accessible objects.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible relation set
Efl.Access.RelationSet GetRelationSet();
/// The role of the object in accessibility domain.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible role
Efl.Access.Role GetRole();
/// Sets the role of the object in accessibility domain.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible role
void SetRole(Efl.Access.Role role);
/// Gets object's accessible parent.
/// Accessible parent
Efl.Access.IObject GetAccessParent();
/// Gets object's accessible parent.
/// Accessible parent
void SetAccessParent(Efl.Access.IObject parent);
/// Sets contextual information callback about widget.
/// if WEARABLE since_tizen 3.0 endif
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// The function called to provide the accessible description.
/// The data passed to c description_cb.
void SetDescriptionCb(Efl.Access.ReadingInfoCb description_cb, System.IntPtr data);
/// 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
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
void SetGestureCb(Efl.Access.GestureCb gesture_cb, System.IntPtr data);
/// Gets object's accessible children.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// List of widget's children
Eina.List GetAccessChildren();
/// Gets human-readable string indentifying object accessibility role.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible role name
System.String GetRoleName();
/// Gets key-value pairs indentifying object extra attributes. Must be free by a user.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// List of object attributes, Must be freed by the user
Eina.List GetAttributes();
/// 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
/// Reading information types
Efl.Access.ReadingInfoTypeMask GetReadingInfoType();
/// 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
/// Reading information types
void SetReadingInfoType(Efl.Access.ReadingInfoTypeMask reading_info);
/// Gets index of the child in parent's children list.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Index in children list
int GetIndexInParent();
/// Gets contextual information about object.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible contextual information
System.String GetDescription();
/// Sets widget contextual information.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible contextual information
void SetDescription(System.String description);
/// Gets set describing object accessible states.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible state set
Efl.Access.StateSet GetStateSet();
/// 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.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Translation domain
System.String GetTranslationDomain();
/// 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.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Translation domain
void SetTranslationDomain(System.String domain);
/// Gets highlightable of given widget.
/// if WEARABLE since_tizen 3.0 endif
/// If c true, the object is highlightable.
bool GetCanHighlight();
/// Sets highlightable to given widget.
/// if WEARABLE since_tizen 3.0 endif
/// If c true, the object is highlightable.
void SetCanHighlight(bool can_highlight);
/// Handles gesture on given widget.
bool GestureDo(Efl.Access.GestureInfo gesture_info);
/// Add key-value pair identifying object extra attribute
/// if WEARABLE since_tizen 3.0 endif
/// The string key to give extra information
/// The string value to give extra information
void AppendAttribute(System.String key, System.String value);
/// delete key-value pair identifying object extra attributes when key is given
/// The string key to identify the key-value pair
void DelAttribute(System.String key);
/// Removes all attributes in accessible object.
void ClearAttributes();
/// Defines the relationship between two accessible objects.
/// Adds a unique relationship between source object and relation_object of a given type.
///
/// 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.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Relation type
/// Object to relate to
/// true if relationship was successfully appended, false otherwise
bool AppendRelationship(Efl.Access.RelationType type, Efl.Access.IObject relation_object);
/// Removes the relationship between two accessible objects.
/// If relation_object is NULL function removes all relations of the given type.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Relation type
/// Object to remove relation from
void RelationshipRemove(Efl.Access.RelationType type, Efl.Access.IObject relation_object);
/// Removes all relationships in accessible object.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
void ClearRelationships();
/// 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.
void StateNotify(Efl.Access.StateSet state_types_mask, bool recursive);
/// Called when property has changed
///
event EventHandler PropertyChangedEvt;
/// Called when children have changed
///
event EventHandler ChildrenChangedEvt;
/// Called when state has changed
///
event EventHandler StateChangedEvt;
/// Called when boundaries have changed
///
event EventHandler BoundsChangedEvt;
/// Called when visibility has changed
event EventHandler VisibleDataChangedEvt;
/// Called when active state of descendant has changed
///
event EventHandler ActiveDescendantChangedEvt;
/// Called when item is added
event EventHandler AddedEvt;
/// Called when item is removed
event EventHandler RemovedEvt;
event EventHandler MoveOutedEvt;
/// Gets an localized string describing accessible object role name.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Localized accessible object role name
System.String LocalizedRoleName {
get;
}
/// Accessible name of the object.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Accessible name
System.String I18nName {
get;
set;
}
/// Sets name information callback about widget.
/// if WEARABLE since_tizen 3.0 endif
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// reading information callback
(Efl.Access.ReadingInfoCb, System.IntPtr) NameCb {
set;
}
/// Gets an all relations between accessible object and other accessible objects.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Accessible relation set
Efl.Access.RelationSet RelationSet {
get;
}
/// The role of the object in accessibility domain.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Accessible role
Efl.Access.Role Role {
get;
set;
}
/// Gets object's accessible parent.
/// Accessible parent
Efl.Access.IObject AccessParent {
get;
set;
}
/// Sets contextual information callback about widget.
/// if WEARABLE since_tizen 3.0 endif
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// The function called to provide the accessible description.
(Efl.Access.ReadingInfoCb, System.IntPtr) DescriptionCb {
set;
}
/// 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
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
(Efl.Access.GestureCb, System.IntPtr) GestureCb {
set;
}
/// Gets object's accessible children.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// List of widget's children
Eina.List AccessChildren {
get;
}
/// Gets human-readable string indentifying object accessibility role.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Accessible role name
System.String RoleName {
get;
}
/// Gets key-value pairs indentifying object extra attributes. Must be free by a user.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// List of object attributes, Must be freed by the user
Eina.List Attributes {
get;
}
/// 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
/// Reading information types
Efl.Access.ReadingInfoTypeMask ReadingInfoType {
get;
set;
}
/// Gets index of the child in parent's children list.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Index in children list
int IndexInParent {
get;
}
/// Gets contextual information about object.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Accessible contextual information
System.String Description {
get;
set;
}
/// Gets set describing object accessible states.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Accessible state set
Efl.Access.StateSet StateSet {
get;
}
/// 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.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Translation domain
System.String TranslationDomain {
get;
set;
}
/// Gets highlightable of given widget.
/// if WEARABLE since_tizen 3.0 endif
/// If c true, the object is highlightable.
bool CanHighlight {
get;
set;
}
}
/// Event argument wrapper for event .
[Efl.Eo.BindingEntity]
public class IObjectPropertyChangedEvt_Args : EventArgs {
/// Actual event payload.
/// Called when property has changed
public System.String arg { get; set; }
}
/// Event argument wrapper for event .
[Efl.Eo.BindingEntity]
public class IObjectChildrenChangedEvt_Args : EventArgs {
/// Actual event payload.
/// Called when children have changed
public Efl.Access.Event.ChildrenChanged.Data arg { get; set; }
}
/// Event argument wrapper for event .
[Efl.Eo.BindingEntity]
public class IObjectStateChangedEvt_Args : EventArgs {
/// Actual event payload.
/// Called when state has changed
public Efl.Access.Event.StateChanged.Data arg { get; set; }
}
/// Event argument wrapper for event .
[Efl.Eo.BindingEntity]
public class IObjectBoundsChangedEvt_Args : EventArgs {
/// Actual event payload.
/// Called when boundaries have changed
public Efl.Access.Event.GeometryChanged.Data arg { get; set; }
}
/// Event argument wrapper for event .
[Efl.Eo.BindingEntity]
public class IObjectActiveDescendantChangedEvt_Args : EventArgs {
/// Actual event payload.
/// Called when active state of descendant has changed
public Efl.Object arg { get; set; }
}
/// Accessibility accessible mixin
sealed public class IObjectConcrete :
Efl.Eo.EoWrapper
, IObject
{
/// Pointer to the native class description.
public override System.IntPtr NativeClass
{
get
{
if (((object)this).GetType() == typeof(IObjectConcrete))
{
return GetEflClassStatic();
}
else
{
return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
}
}
}
/// Subclasses should override this constructor if they are expected to be instantiated from native code.
/// Do not call this constructor directly.
/// Tag struct storing the native handle of the object being constructed.
private IObjectConcrete(ConstructingHandle ch) : base(ch)
{
}
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_access_object_mixin_get();
/// Initializes a new instance of the class.
/// Internal usage: This is used when interacting with C code and should not be used directly.
/// The native pointer to be wrapped.
private IObjectConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// Called when property has changed
///
public event EventHandler PropertyChangedEvt
{
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.Access.IObjectPropertyChangedEvt_Args args = new Efl.Access.IObjectPropertyChangedEvt_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_ACCESS_OBJECT_EVENT_PROPERTY_CHANGED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
remove
{
lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_PROPERTY_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
/// Method to raise event PropertyChangedEvt.
public void OnPropertyChangedEvt(Efl.Access.IObjectPropertyChangedEvt_Args e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_PROPERTY_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.StringConversion.ManagedStringToNativeUtf8Alloc(e.arg);
try
{
Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
finally
{
Eina.MemoryNative.Free(info);
}
}
/// Called when children have changed
///
public event EventHandler ChildrenChangedEvt
{
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.Access.IObjectChildrenChangedEvt_Args args = new Efl.Access.IObjectChildrenChangedEvt_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_ACCESS_OBJECT_EVENT_CHILDREN_CHANGED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
remove
{
lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_CHILDREN_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
/// Method to raise event ChildrenChangedEvt.
public void OnChildrenChangedEvt(Efl.Access.IObjectChildrenChangedEvt_Args e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_CHILDREN_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);
}
}
/// Called when state has changed
///
public event EventHandler StateChangedEvt
{
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.Access.IObjectStateChangedEvt_Args args = new Efl.Access.IObjectStateChangedEvt_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_ACCESS_OBJECT_EVENT_STATE_CHANGED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
remove
{
lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_STATE_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
/// Method to raise event StateChangedEvt.
public void OnStateChangedEvt(Efl.Access.IObjectStateChangedEvt_Args e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_STATE_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);
}
}
/// Called when boundaries have changed
///
public event EventHandler BoundsChangedEvt
{
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.Access.IObjectBoundsChangedEvt_Args args = new Efl.Access.IObjectBoundsChangedEvt_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_ACCESS_OBJECT_EVENT_BOUNDS_CHANGED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
remove
{
lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_BOUNDS_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
/// Method to raise event BoundsChangedEvt.
public void OnBoundsChangedEvt(Efl.Access.IObjectBoundsChangedEvt_Args e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_BOUNDS_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);
}
}
/// Called when visibility has changed
public event EventHandler VisibleDataChangedEvt
{
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_ACCESS_OBJECT_EVENT_VISIBLE_DATA_CHANGED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
remove
{
lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_VISIBLE_DATA_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
/// Method to raise event VisibleDataChangedEvt.
public void OnVisibleDataChangedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_VISIBLE_DATA_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);
}
/// Called when active state of descendant has changed
///
public event EventHandler ActiveDescendantChangedEvt
{
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.Access.IObjectActiveDescendantChangedEvt_Args args = new Efl.Access.IObjectActiveDescendantChangedEvt_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_ACCESS_OBJECT_EVENT_ACTIVE_DESCENDANT_CHANGED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
remove
{
lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_ACTIVE_DESCENDANT_CHANGED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
/// Method to raise event ActiveDescendantChangedEvt.
public void OnActiveDescendantChangedEvt(Efl.Access.IObjectActiveDescendantChangedEvt_Args e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_ACTIVE_DESCENDANT_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);
}
/// Called when item is added
public event EventHandler AddedEvt
{
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_ACCESS_OBJECT_EVENT_ADDED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
remove
{
lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_ADDED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
/// Method to raise event AddedEvt.
public void OnAddedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_ADDED";
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);
}
/// Called when item is removed
public event EventHandler RemovedEvt
{
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_ACCESS_OBJECT_EVENT_REMOVED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
remove
{
lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_REMOVED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
/// Method to raise event RemovedEvt.
public void OnRemovedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_REMOVED";
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);
}
public event EventHandler MoveOutedEvt
{
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_ACCESS_OBJECT_EVENT_MOVE_OUTED";
AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
}
}
remove
{
lock (eflBindingEventLock)
{
string key = "_EFL_ACCESS_OBJECT_EVENT_MOVE_OUTED";
RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
}
}
}
/// Method to raise event MoveOutedEvt.
public void OnMoveOutedEvt(EventArgs e)
{
var key = "_EFL_ACCESS_OBJECT_EVENT_MOVE_OUTED";
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);
}
/// Gets an localized string describing accessible object role name.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Localized accessible object role name
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;
}
/// Accessible name of the object.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible name
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;
}
/// Accessible name of the object.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible name
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();
}
/// Sets name information callback about widget.
/// if WEARABLE since_tizen 3.0 endif
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// reading information callback
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();
}
/// Gets an all relations between accessible object and other accessible objects.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible relation set
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;
}
/// The role of the object in accessibility domain.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible role
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;
}
/// Sets the role of the object in accessibility domain.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible role
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();
}
/// Gets object's accessible parent.
/// Accessible parent
public Efl.Access.IObject GetAccessParent() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_access_parent_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Gets object's accessible parent.
/// Accessible parent
public void SetAccessParent(Efl.Access.IObject parent) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_access_parent_set_ptr.Value.Delegate(this.NativeHandle,parent);
Eina.Error.RaiseIfUnhandledException();
}
/// Sets contextual information callback about widget.
/// if WEARABLE since_tizen 3.0 endif
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// The function called to provide the accessible description.
/// The data passed to c description_cb.
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();
}
/// 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
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
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();
}
/// Gets object's accessible children.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// List of widget's children
public Eina.List 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(_ret_var, true, false);
}
/// Gets human-readable string indentifying object accessibility role.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible role name
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;
}
/// Gets key-value pairs indentifying object extra attributes. Must be free by a user.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// List of object attributes, Must be freed by the user
public Eina.List GetAttributes() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_attributes_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return new Eina.List(_ret_var, true, true);
}
/// 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
/// Reading information types
public Efl.Access.ReadingInfoTypeMask GetReadingInfoType() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_reading_info_type_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// 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
/// Reading information types
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();
}
/// Gets index of the child in parent's children list.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Index in children list
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;
}
/// Gets contextual information about object.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible contextual information
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;
}
/// Sets widget contextual information.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible contextual information
public void SetDescription(System.String description) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_description_set_ptr.Value.Delegate(this.NativeHandle,description);
Eina.Error.RaiseIfUnhandledException();
}
/// Gets set describing object accessible states.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessible state set
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;
}
/// 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.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Translation domain
public System.String GetTranslationDomain() {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_translation_domain_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// 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.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Translation domain
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();
}
/// Get root object of accessible object hierarchy
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Root object
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;
}
/// Gets highlightable of given widget.
/// if WEARABLE since_tizen 3.0 endif
/// If c true, the object is highlightable.
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;
}
/// Sets highlightable to given widget.
/// if WEARABLE since_tizen 3.0 endif
/// If c true, the object is highlightable.
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();
}
/// Handles gesture on given widget.
public bool GestureDo(Efl.Access.GestureInfo gesture_info) {
Efl.Access.GestureInfo.NativeStruct _in_gesture_info = gesture_info;
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_gesture_do_ptr.Value.Delegate(this.NativeHandle,_in_gesture_info);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Add key-value pair identifying object extra attribute
/// if WEARABLE since_tizen 3.0 endif
/// The string key to give extra information
/// The string value to give extra information
public void AppendAttribute(System.String key, System.String value) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_attribute_append_ptr.Value.Delegate(this.NativeHandle,key, value);
Eina.Error.RaiseIfUnhandledException();
}
/// delete key-value pair identifying object extra attributes when key is given
/// The string key to identify the key-value pair
public void DelAttribute(System.String key) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_attribute_del_ptr.Value.Delegate(this.NativeHandle,key);
Eina.Error.RaiseIfUnhandledException();
}
/// Removes all attributes in accessible object.
public void ClearAttributes() {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_attributes_clear_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
}
/// Register accessibility event listener
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Callback
/// Data
/// Event handler
public static Efl.Access.Event.Handler AddEventHandler(Efl.EventCb cb, System.IntPtr data) {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_event_handler_add_ptr.Value.Delegate(cb, data);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Deregister accessibility event listener
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Event handler
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();
}
/// Emit event
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Accessibility object.
/// Accessibility event type.
/// Accessibility event details.
public static void EmitEvent(Efl.Access.IObject accessible, Efl.EventDescription kw_event, System.IntPtr event_info) {
var _in_kw_event = Eina.PrimitiveConversion.ManagedToPointerAlloc(kw_event);
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_event_emit_ptr.Value.Delegate(accessible, _in_kw_event, event_info);
Eina.Error.RaiseIfUnhandledException();
}
/// Defines the relationship between two accessible objects.
/// Adds a unique relationship between source object and relation_object of a given type.
///
/// 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.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Relation type
/// Object to relate to
/// true if relationship was successfully appended, false otherwise
public bool AppendRelationship(Efl.Access.RelationType type, Efl.Access.IObject relation_object) {
var _ret_var = Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_relationship_append_ptr.Value.Delegate(this.NativeHandle,type, relation_object);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Removes the relationship between two accessible objects.
/// If relation_object is NULL function removes all relations of the given type.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
/// Relation type
/// Object to remove relation from
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();
}
/// Removes all relationships in accessible object.
///
/// This is a BETA method. It can be modified or removed in the future. Do not use it for product development.
public void ClearRelationships() {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_relationships_clear_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
}
/// 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.
public void StateNotify(Efl.Access.StateSet state_types_mask, bool recursive) {
Efl.Access.IObjectConcrete.NativeMethods.efl_access_object_state_notify_ptr.Value.Delegate(this.NativeHandle,state_types_mask, recursive);
Eina.Error.RaiseIfUnhandledException();
}
/// Gets an localized string describing accessible object role name.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Localized accessible object role name
public System.String LocalizedRoleName {
get { return GetLocalizedRoleName(); }
}
/// Accessible name of the object.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Accessible name
public System.String I18nName {
get { return GetI18nName(); }
set { SetI18nName(value); }
}
/// Sets name information callback about widget.
/// if WEARABLE since_tizen 3.0 endif
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// reading information callback
public (Efl.Access.ReadingInfoCb, System.IntPtr) NameCb {
set { SetNameCb( value.Item1, value.Item2); }
}
/// Gets an all relations between accessible object and other accessible objects.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Accessible relation set
public Efl.Access.RelationSet RelationSet {
get { return GetRelationSet(); }
}
/// The role of the object in accessibility domain.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Accessible role
public Efl.Access.Role Role {
get { return GetRole(); }
set { SetRole(value); }
}
/// Gets object's accessible parent.
/// Accessible parent
public Efl.Access.IObject AccessParent {
get { return GetAccessParent(); }
set { SetAccessParent(value); }
}
/// Sets contextual information callback about widget.
/// if WEARABLE since_tizen 3.0 endif
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// The function called to provide the accessible description.
public (Efl.Access.ReadingInfoCb, System.IntPtr) DescriptionCb {
set { SetDescriptionCb( value.Item1, value.Item2); }
}
/// 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
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
public (Efl.Access.GestureCb, System.IntPtr) GestureCb {
set { SetGestureCb( value.Item1, value.Item2); }
}
/// Gets object's accessible children.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// List of widget's children
public Eina.List AccessChildren {
get { return GetAccessChildren(); }
}
/// Gets human-readable string indentifying object accessibility role.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Accessible role name
public System.String RoleName {
get { return GetRoleName(); }
}
/// Gets key-value pairs indentifying object extra attributes. Must be free by a user.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// List of object attributes, Must be freed by the user
public Eina.List Attributes {
get { return GetAttributes(); }
}
/// 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
/// Reading information types
public Efl.Access.ReadingInfoTypeMask ReadingInfoType {
get { return GetReadingInfoType(); }
set { SetReadingInfoType(value); }
}
/// Gets index of the child in parent's children list.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Index in children list
public int IndexInParent {
get { return GetIndexInParent(); }
}
/// Gets contextual information about object.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Accessible contextual information
public System.String Description {
get { return GetDescription(); }
set { SetDescription(value); }
}
/// Gets set describing object accessible states.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Accessible state set
public Efl.Access.StateSet StateSet {
get { return GetStateSet(); }
}
/// 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.
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Translation domain
public System.String TranslationDomain {
get { return GetTranslationDomain(); }
set { SetTranslationDomain(value); }
}
/// Get root object of accessible object hierarchy
///
/// This is a BETA property. It can be modified or removed in the future. Do not use it for product development.
/// Root object
public static Efl.Object AccessRoot {
get { return GetAccessRoot(); }
}
/// Gets highlightable of given widget.
/// if WEARABLE since_tizen 3.0 endif
/// If c true, the object is highlightable.
public bool CanHighlight {
get { return GetCanHighlight(); }
set { SetCanHighlight(value); }
}
private static IntPtr GetEflClassStatic()
{
return Efl.Access.IObjectConcrete.efl_access_object_mixin_get();
}
/// Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.
public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// Gets the list of Eo operations to override.
/// The list of Eo operations to be overload.
public override System.Collections.Generic.List GetEoOps(System.Type type)
{
var descs = new System.Collections.Generic.List();
var methods = Efl.Eo.Globals.GetUserMethods(type);
if (efl_access_object_localized_role_name_get_static_delegate == null)
{
efl_access_object_localized_role_name_get_static_delegate = new efl_access_object_localized_role_name_get_delegate(localized_role_name_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetLocalizedRoleName") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_localized_role_name_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_localized_role_name_get_static_delegate) });
}
if (efl_access_object_i18n_name_get_static_delegate == null)
{
efl_access_object_i18n_name_get_static_delegate = new efl_access_object_i18n_name_get_delegate(i18n_name_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetI18nName") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_i18n_name_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_i18n_name_get_static_delegate) });
}
if (efl_access_object_i18n_name_set_static_delegate == null)
{
efl_access_object_i18n_name_set_static_delegate = new efl_access_object_i18n_name_set_delegate(i18n_name_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetI18nName") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_i18n_name_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_i18n_name_set_static_delegate) });
}
if (efl_access_object_name_cb_set_static_delegate == null)
{
efl_access_object_name_cb_set_static_delegate = new efl_access_object_name_cb_set_delegate(name_cb_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetNameCb") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_name_cb_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_name_cb_set_static_delegate) });
}
if (efl_access_object_relation_set_get_static_delegate == null)
{
efl_access_object_relation_set_get_static_delegate = new efl_access_object_relation_set_get_delegate(relation_set_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetRelationSet") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_relation_set_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_relation_set_get_static_delegate) });
}
if (efl_access_object_role_get_static_delegate == null)
{
efl_access_object_role_get_static_delegate = new efl_access_object_role_get_delegate(role_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetRole") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_role_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_role_get_static_delegate) });
}
if (efl_access_object_role_set_static_delegate == null)
{
efl_access_object_role_set_static_delegate = new efl_access_object_role_set_delegate(role_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetRole") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_role_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_role_set_static_delegate) });
}
if (efl_access_object_access_parent_get_static_delegate == null)
{
efl_access_object_access_parent_get_static_delegate = new efl_access_object_access_parent_get_delegate(access_parent_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetAccessParent") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_access_parent_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_access_parent_get_static_delegate) });
}
if (efl_access_object_access_parent_set_static_delegate == null)
{
efl_access_object_access_parent_set_static_delegate = new efl_access_object_access_parent_set_delegate(access_parent_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetAccessParent") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_access_parent_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_access_parent_set_static_delegate) });
}
if (efl_access_object_description_cb_set_static_delegate == null)
{
efl_access_object_description_cb_set_static_delegate = new efl_access_object_description_cb_set_delegate(description_cb_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetDescriptionCb") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_description_cb_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_description_cb_set_static_delegate) });
}
if (efl_access_object_gesture_cb_set_static_delegate == null)
{
efl_access_object_gesture_cb_set_static_delegate = new efl_access_object_gesture_cb_set_delegate(gesture_cb_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetGestureCb") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_gesture_cb_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_gesture_cb_set_static_delegate) });
}
if (efl_access_object_access_children_get_static_delegate == null)
{
efl_access_object_access_children_get_static_delegate = new efl_access_object_access_children_get_delegate(access_children_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetAccessChildren") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_access_children_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_access_children_get_static_delegate) });
}
if (efl_access_object_role_name_get_static_delegate == null)
{
efl_access_object_role_name_get_static_delegate = new efl_access_object_role_name_get_delegate(role_name_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetRoleName") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_role_name_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_role_name_get_static_delegate) });
}
if (efl_access_object_attributes_get_static_delegate == null)
{
efl_access_object_attributes_get_static_delegate = new efl_access_object_attributes_get_delegate(attributes_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetAttributes") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_attributes_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_attributes_get_static_delegate) });
}
if (efl_access_object_reading_info_type_get_static_delegate == null)
{
efl_access_object_reading_info_type_get_static_delegate = new efl_access_object_reading_info_type_get_delegate(reading_info_type_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetReadingInfoType") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_reading_info_type_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_reading_info_type_get_static_delegate) });
}
if (efl_access_object_reading_info_type_set_static_delegate == null)
{
efl_access_object_reading_info_type_set_static_delegate = new efl_access_object_reading_info_type_set_delegate(reading_info_type_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetReadingInfoType") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_reading_info_type_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_reading_info_type_set_static_delegate) });
}
if (efl_access_object_index_in_parent_get_static_delegate == null)
{
efl_access_object_index_in_parent_get_static_delegate = new efl_access_object_index_in_parent_get_delegate(index_in_parent_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetIndexInParent") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_index_in_parent_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_index_in_parent_get_static_delegate) });
}
if (efl_access_object_description_get_static_delegate == null)
{
efl_access_object_description_get_static_delegate = new efl_access_object_description_get_delegate(description_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetDescription") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_description_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_description_get_static_delegate) });
}
if (efl_access_object_description_set_static_delegate == null)
{
efl_access_object_description_set_static_delegate = new efl_access_object_description_set_delegate(description_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetDescription") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_description_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_description_set_static_delegate) });
}
if (efl_access_object_state_set_get_static_delegate == null)
{
efl_access_object_state_set_get_static_delegate = new efl_access_object_state_set_get_delegate(state_set_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetStateSet") != null)
{
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_translation_domain_get_static_delegate == null)
{
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 == "GetTranslationDomain") != 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) });
}
if (efl_access_object_translation_domain_set_static_delegate == null)
{
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 == "SetTranslationDomain") != 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) });
}
if (efl_access_object_can_highlight_get_static_delegate == null)
{
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 == "GetCanHighlight") != 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) });
}
if (efl_access_object_can_highlight_set_static_delegate == null)
{
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 == "SetCanHighlight") != 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) });
}
if (efl_access_object_gesture_do_static_delegate == null)
{
efl_access_object_gesture_do_static_delegate = new efl_access_object_gesture_do_delegate(gesture_do);
}
if (methods.FirstOrDefault(m => m.Name == "GestureDo") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_gesture_do"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_gesture_do_static_delegate) });
}
if (efl_access_object_attribute_append_static_delegate == null)
{
efl_access_object_attribute_append_static_delegate = new efl_access_object_attribute_append_delegate(attribute_append);
}
if (methods.FirstOrDefault(m => m.Name == "AppendAttribute") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_attribute_append"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_attribute_append_static_delegate) });
}
if (efl_access_object_attribute_del_static_delegate == null)
{
efl_access_object_attribute_del_static_delegate = new efl_access_object_attribute_del_delegate(attribute_del);
}
if (methods.FirstOrDefault(m => m.Name == "DelAttribute") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_attribute_del"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_attribute_del_static_delegate) });
}
if (efl_access_object_attributes_clear_static_delegate == null)
{
efl_access_object_attributes_clear_static_delegate = new efl_access_object_attributes_clear_delegate(attributes_clear);
}
if (methods.FirstOrDefault(m => m.Name == "ClearAttributes") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_attributes_clear"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_attributes_clear_static_delegate) });
}
if (efl_access_object_relationship_append_static_delegate == null)
{
efl_access_object_relationship_append_static_delegate = new efl_access_object_relationship_append_delegate(relationship_append);
}
if (methods.FirstOrDefault(m => m.Name == "AppendRelationship") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_relationship_append"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_relationship_append_static_delegate) });
}
if (efl_access_object_relationship_remove_static_delegate == null)
{
efl_access_object_relationship_remove_static_delegate = new efl_access_object_relationship_remove_delegate(relationship_remove);
}
if (methods.FirstOrDefault(m => m.Name == "RelationshipRemove") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_relationship_remove"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_relationship_remove_static_delegate) });
}
if (efl_access_object_relationships_clear_static_delegate == null)
{
efl_access_object_relationships_clear_static_delegate = new efl_access_object_relationships_clear_delegate(relationships_clear);
}
if (methods.FirstOrDefault(m => m.Name == "ClearRelationships") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_relationships_clear"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_relationships_clear_static_delegate) });
}
if (efl_access_object_state_notify_static_delegate == null)
{
efl_access_object_state_notify_static_delegate = new efl_access_object_state_notify_delegate(state_notify);
}
if (methods.FirstOrDefault(m => m.Name == "StateNotify") != null)
{
descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_object_state_notify"), func = Marshal.GetFunctionPointerForDelegate(efl_access_object_state_notify_static_delegate) });
}
return descs;
}
/// Returns the Eo class for the native methods of this class.
/// The native class pointer.
public override IntPtr GetEflClass()
{
return Efl.Access.IObjectConcrete.efl_access_object_mixin_get();
}
#pragma warning disable CA1707, CS1591, SA1300, SA1600
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
private delegate System.String efl_access_object_localized_role_name_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
public delegate System.String efl_access_object_localized_role_name_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_access_object_localized_role_name_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_localized_role_name_get");
private static System.String localized_role_name_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_access_object_localized_role_name_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
System.String _ret_var = default(System.String);
try
{
_ret_var = ((IObject)ws.Target).GetLocalizedRoleName();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_access_object_localized_role_name_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_access_object_localized_role_name_get_delegate efl_access_object_localized_role_name_get_static_delegate;
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
private delegate System.String efl_access_object_i18n_name_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
public delegate System.String efl_access_object_i18n_name_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_access_object_i18n_name_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_i18n_name_get");
private static System.String i18n_name_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_access_object_i18n_name_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
System.String _ret_var = default(System.String);
try
{
_ret_var = ((IObject)ws.Target).GetI18nName();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_access_object_i18n_name_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_access_object_i18n_name_get_delegate efl_access_object_i18n_name_get_static_delegate;
private delegate void efl_access_object_i18n_name_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String i18n_name);
public delegate void efl_access_object_i18n_name_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String i18n_name);
public static Efl.Eo.FunctionWrapper efl_access_object_i18n_name_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_i18n_name_set");
private static void i18n_name_set(System.IntPtr obj, System.IntPtr pd, System.String i18n_name)
{
Eina.Log.Debug("function efl_access_object_i18n_name_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((IObject)ws.Target).SetI18nName(i18n_name);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_access_object_i18n_name_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), i18n_name);
}
}
private static efl_access_object_i18n_name_set_delegate efl_access_object_i18n_name_set_static_delegate;
private delegate void efl_access_object_name_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Access.ReadingInfoCb name_cb, System.IntPtr data);
public delegate void efl_access_object_name_cb_set_api_delegate(System.IntPtr obj, Efl.Access.ReadingInfoCb name_cb, System.IntPtr data);
public static Efl.Eo.FunctionWrapper efl_access_object_name_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_name_cb_set");
private static void name_cb_set(System.IntPtr obj, System.IntPtr pd, Efl.Access.ReadingInfoCb name_cb, System.IntPtr data)
{
Eina.Log.Debug("function efl_access_object_name_cb_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((IObject)ws.Target).SetNameCb(name_cb, data);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_access_object_name_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name_cb, data);
}
}
private static efl_access_object_name_cb_set_delegate efl_access_object_name_cb_set_static_delegate;
private delegate Efl.Access.RelationSet efl_access_object_relation_set_get_delegate(System.IntPtr obj, System.IntPtr pd);
public delegate Efl.Access.RelationSet efl_access_object_relation_set_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_access_object_relation_set_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_relation_set_get");
private static Efl.Access.RelationSet relation_set_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_access_object_relation_set_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Efl.Access.RelationSet _ret_var = default(Efl.Access.RelationSet);
try
{
_ret_var = ((IObject)ws.Target).GetRelationSet();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_access_object_relation_set_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_access_object_relation_set_get_delegate efl_access_object_relation_set_get_static_delegate;
private delegate Efl.Access.Role efl_access_object_role_get_delegate(System.IntPtr obj, System.IntPtr pd);
public delegate Efl.Access.Role efl_access_object_role_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_access_object_role_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_role_get");
private static Efl.Access.Role role_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_access_object_role_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Efl.Access.Role _ret_var = default(Efl.Access.Role);
try
{
_ret_var = ((IObject)ws.Target).GetRole();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_access_object_role_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_access_object_role_get_delegate efl_access_object_role_get_static_delegate;
private delegate void efl_access_object_role_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Access.Role role);
public delegate void efl_access_object_role_set_api_delegate(System.IntPtr obj, Efl.Access.Role role);
public static Efl.Eo.FunctionWrapper efl_access_object_role_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_role_set");
private static void role_set(System.IntPtr obj, System.IntPtr pd, Efl.Access.Role role)
{
Eina.Log.Debug("function efl_access_object_role_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((IObject)ws.Target).SetRole(role);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_access_object_role_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), role);
}
}
private static efl_access_object_role_set_delegate efl_access_object_role_set_static_delegate;
[return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))]
private delegate Efl.Access.IObject efl_access_object_access_parent_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))]
public delegate Efl.Access.IObject efl_access_object_access_parent_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_access_object_access_parent_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_access_parent_get");
private static Efl.Access.IObject access_parent_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_access_object_access_parent_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Efl.Access.IObject _ret_var = default(Efl.Access.IObject);
try
{
_ret_var = ((IObject)ws.Target).GetAccessParent();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_access_object_access_parent_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_access_object_access_parent_get_delegate efl_access_object_access_parent_get_static_delegate;
private delegate void efl_access_object_access_parent_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Access.IObject parent);
public delegate void efl_access_object_access_parent_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Access.IObject parent);
public static Efl.Eo.FunctionWrapper efl_access_object_access_parent_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_access_parent_set");
private static void access_parent_set(System.IntPtr obj, System.IntPtr pd, Efl.Access.IObject parent)
{
Eina.Log.Debug("function efl_access_object_access_parent_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((IObject)ws.Target).SetAccessParent(parent);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_access_object_access_parent_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), parent);
}
}
private static efl_access_object_access_parent_set_delegate efl_access_object_access_parent_set_static_delegate;
private delegate void efl_access_object_description_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Access.ReadingInfoCb description_cb, System.IntPtr data);
public delegate void efl_access_object_description_cb_set_api_delegate(System.IntPtr obj, Efl.Access.ReadingInfoCb description_cb, System.IntPtr data);
public static Efl.Eo.FunctionWrapper efl_access_object_description_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_description_cb_set");
private static void description_cb_set(System.IntPtr obj, System.IntPtr pd, Efl.Access.ReadingInfoCb description_cb, System.IntPtr data)
{
Eina.Log.Debug("function efl_access_object_description_cb_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((IObject)ws.Target).SetDescriptionCb(description_cb, data);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_access_object_description_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), description_cb, data);
}
}
private static efl_access_object_description_cb_set_delegate efl_access_object_description_cb_set_static_delegate;
private delegate void efl_access_object_gesture_cb_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Access.GestureCb gesture_cb, System.IntPtr data);
public delegate void efl_access_object_gesture_cb_set_api_delegate(System.IntPtr obj, Efl.Access.GestureCb gesture_cb, System.IntPtr data);
public static Efl.Eo.FunctionWrapper efl_access_object_gesture_cb_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_gesture_cb_set");
private static void gesture_cb_set(System.IntPtr obj, System.IntPtr pd, Efl.Access.GestureCb gesture_cb, System.IntPtr data)
{
Eina.Log.Debug("function efl_access_object_gesture_cb_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((IObject)ws.Target).SetGestureCb(gesture_cb, data);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_access_object_gesture_cb_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), gesture_cb, data);
}
}
private static efl_access_object_gesture_cb_set_delegate efl_access_object_gesture_cb_set_static_delegate;
private delegate System.IntPtr efl_access_object_access_children_get_delegate(System.IntPtr obj, System.IntPtr pd);
public delegate System.IntPtr efl_access_object_access_children_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_access_object_access_children_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_access_children_get");
private static System.IntPtr access_children_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_access_object_access_children_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Eina.List _ret_var = default(Eina.List);
try
{
_ret_var = ((IObject)ws.Target).GetAccessChildren();
}
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_access_object_access_children_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_access_object_access_children_get_delegate efl_access_object_access_children_get_static_delegate;
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
private delegate System.String efl_access_object_role_name_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
public delegate System.String efl_access_object_role_name_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_access_object_role_name_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_role_name_get");
private static System.String role_name_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_access_object_role_name_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
System.String _ret_var = default(System.String);
try
{
_ret_var = ((IObject)ws.Target).GetRoleName();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_access_object_role_name_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_access_object_role_name_get_delegate efl_access_object_role_name_get_static_delegate;
private delegate System.IntPtr efl_access_object_attributes_get_delegate(System.IntPtr obj, System.IntPtr pd);
public delegate System.IntPtr efl_access_object_attributes_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_access_object_attributes_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_attributes_get");
private static System.IntPtr attributes_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_access_object_attributes_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Eina.List _ret_var = default(Eina.List);
try
{
_ret_var = ((IObject)ws.Target).GetAttributes();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
_ret_var.Own = false; _ret_var.OwnContent = false; return _ret_var.Handle;
}
else
{
return efl_access_object_attributes_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_access_object_attributes_get_delegate efl_access_object_attributes_get_static_delegate;
private delegate Efl.Access.ReadingInfoTypeMask efl_access_object_reading_info_type_get_delegate(System.IntPtr obj, System.IntPtr pd);
public delegate Efl.Access.ReadingInfoTypeMask efl_access_object_reading_info_type_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_access_object_reading_info_type_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_reading_info_type_get");
private static Efl.Access.ReadingInfoTypeMask reading_info_type_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_access_object_reading_info_type_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Efl.Access.ReadingInfoTypeMask _ret_var = default(Efl.Access.ReadingInfoTypeMask);
try
{
_ret_var = ((IObject)ws.Target).GetReadingInfoType();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_access_object_reading_info_type_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_access_object_reading_info_type_get_delegate efl_access_object_reading_info_type_get_static_delegate;
private delegate void efl_access_object_reading_info_type_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Access.ReadingInfoTypeMask reading_info);
public delegate void efl_access_object_reading_info_type_set_api_delegate(System.IntPtr obj, Efl.Access.ReadingInfoTypeMask reading_info);
public static Efl.Eo.FunctionWrapper efl_access_object_reading_info_type_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_reading_info_type_set");
private static void reading_info_type_set(System.IntPtr obj, System.IntPtr pd, Efl.Access.ReadingInfoTypeMask reading_info)
{
Eina.Log.Debug("function efl_access_object_reading_info_type_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((IObject)ws.Target).SetReadingInfoType(reading_info);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_access_object_reading_info_type_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), reading_info);
}
}
private static efl_access_object_reading_info_type_set_delegate efl_access_object_reading_info_type_set_static_delegate;
private delegate int efl_access_object_index_in_parent_get_delegate(System.IntPtr obj, System.IntPtr pd);
public delegate int efl_access_object_index_in_parent_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_access_object_index_in_parent_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_index_in_parent_get");
private static int index_in_parent_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_access_object_index_in_parent_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
int _ret_var = default(int);
try
{
_ret_var = ((IObject)ws.Target).GetIndexInParent();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_access_object_index_in_parent_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_access_object_index_in_parent_get_delegate efl_access_object_index_in_parent_get_static_delegate;
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
private delegate System.String efl_access_object_description_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
public delegate System.String efl_access_object_description_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_access_object_description_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_description_get");
private static System.String description_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_access_object_description_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
System.String _ret_var = default(System.String);
try
{
_ret_var = ((IObject)ws.Target).GetDescription();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_access_object_description_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_access_object_description_get_delegate efl_access_object_description_get_static_delegate;
private delegate void efl_access_object_description_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String description);
public delegate void efl_access_object_description_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String description);
public static Efl.Eo.FunctionWrapper efl_access_object_description_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_description_set");
private static void description_set(System.IntPtr obj, System.IntPtr pd, System.String description)
{
Eina.Log.Debug("function efl_access_object_description_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((IObject)ws.Target).SetDescription(description);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_access_object_description_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), description);
}
}
private static efl_access_object_description_set_delegate efl_access_object_description_set_static_delegate;
private delegate Efl.Access.StateSet efl_access_object_state_set_get_delegate(System.IntPtr obj, System.IntPtr pd);
public delegate Efl.Access.StateSet efl_access_object_state_set_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_access_object_state_set_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_state_set_get");
private static Efl.Access.StateSet state_set_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_access_object_state_set_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Efl.Access.StateSet _ret_var = default(Efl.Access.StateSet);
try
{
_ret_var = ((IObject)ws.Target).GetStateSet();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_access_object_state_set_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_access_object_state_set_get_delegate efl_access_object_state_set_get_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.StringKeepOwnershipMarshaler))]
public delegate System.String efl_access_object_translation_domain_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_access_object_translation_domain_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_translation_domain_get");
private static System.String translation_domain_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_access_object_translation_domain_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
System.String _ret_var = default(System.String);
try
{
_ret_var = ((IObject)ws.Target).GetTranslationDomain();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
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_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);
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_translation_domain_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_translation_domain_set");
private static void translation_domain_set(System.IntPtr obj, System.IntPtr pd, System.String domain)
{
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).SetTranslationDomain(domain);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
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_translation_domain_set_delegate efl_access_object_translation_domain_set_static_delegate;
[return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))]
private delegate Efl.Object efl_access_object_access_root_get_delegate();
[return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))]
public delegate Efl.Object efl_access_object_access_root_get_api_delegate();
public static Efl.Eo.FunctionWrapper efl_access_object_access_root_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_access_root_get");
private static Efl.Object access_root_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_access_object_access_root_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Efl.Object _ret_var = default(Efl.Object);
try
{
_ret_var = IObjectConcrete.GetAccessRoot();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_access_object_access_root_get_ptr.Value.Delegate();
}
}
[return: MarshalAs(UnmanagedType.U1)]
private delegate bool efl_access_object_can_highlight_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);
public static Efl.Eo.FunctionWrapper efl_access_object_can_highlight_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_can_highlight_get");
private static bool can_highlight_get(System.IntPtr obj, System.IntPtr pd)
{
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
{
_ret_var = ((IObject)ws.Target).GetCanHighlight();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
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_can_highlight_get_delegate efl_access_object_can_highlight_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);
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_can_highlight_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_can_highlight_set");
private static void can_highlight_set(System.IntPtr obj, System.IntPtr pd, bool can_highlight)
{
Eina.Log.Debug("function efl_access_object_can_highlight_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((IObject)ws.Target).SetCanHighlight(can_highlight);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
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);
}
}
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);
[return: MarshalAs(UnmanagedType.U1)]
public delegate bool efl_access_object_gesture_do_api_delegate(System.IntPtr obj, Efl.Access.GestureInfo.NativeStruct gesture_info);
public static Efl.Eo.FunctionWrapper efl_access_object_gesture_do_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_gesture_do");
private static bool gesture_do(System.IntPtr obj, System.IntPtr pd, Efl.Access.GestureInfo.NativeStruct gesture_info)
{
Eina.Log.Debug("function efl_access_object_gesture_do was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Efl.Access.GestureInfo _in_gesture_info = gesture_info;
bool _ret_var = default(bool);
try
{
_ret_var = ((IObject)ws.Target).GestureDo(_in_gesture_info);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_access_object_gesture_do_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), gesture_info);
}
}
private static efl_access_object_gesture_do_delegate efl_access_object_gesture_do_static_delegate;
private delegate void efl_access_object_attribute_append_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 value);
public delegate void efl_access_object_attribute_append_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 value);
public static Efl.Eo.FunctionWrapper efl_access_object_attribute_append_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_attribute_append");
private static void attribute_append(System.IntPtr obj, System.IntPtr pd, System.String key, System.String value)
{
Eina.Log.Debug("function efl_access_object_attribute_append was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((IObject)ws.Target).AppendAttribute(key, value);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_access_object_attribute_append_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), key, value);
}
}
private static efl_access_object_attribute_append_delegate efl_access_object_attribute_append_static_delegate;
private delegate void efl_access_object_attribute_del_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key);
public delegate void efl_access_object_attribute_del_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key);
public static Efl.Eo.FunctionWrapper efl_access_object_attribute_del_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_attribute_del");
private static void attribute_del(System.IntPtr obj, System.IntPtr pd, System.String key)
{
Eina.Log.Debug("function efl_access_object_attribute_del was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((IObject)ws.Target).DelAttribute(key);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_access_object_attribute_del_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), key);
}
}
private static efl_access_object_attribute_del_delegate efl_access_object_attribute_del_static_delegate;
private delegate void efl_access_object_attributes_clear_delegate(System.IntPtr obj, System.IntPtr pd);
public delegate void efl_access_object_attributes_clear_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_access_object_attributes_clear_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_attributes_clear");
private static void attributes_clear(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_access_object_attributes_clear was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((IObject)ws.Target).ClearAttributes();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_access_object_attributes_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_access_object_attributes_clear_delegate efl_access_object_attributes_clear_static_delegate;
private delegate Efl.Access.Event.Handler efl_access_object_event_handler_add_delegate( Efl.EventCb cb, System.IntPtr data);
public delegate Efl.Access.Event.Handler efl_access_object_event_handler_add_api_delegate( Efl.EventCb cb, System.IntPtr data);
public static Efl.Eo.FunctionWrapper efl_access_object_event_handler_add_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_event_handler_add");
private static Efl.Access.Event.Handler event_handler_add(System.IntPtr obj, System.IntPtr pd, Efl.EventCb cb, System.IntPtr data)
{
Eina.Log.Debug("function efl_access_object_event_handler_add was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Efl.Access.Event.Handler _ret_var = default(Efl.Access.Event.Handler);
try
{
_ret_var = IObjectConcrete.AddEventHandler(cb, data);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_access_object_event_handler_add_ptr.Value.Delegate(cb, data);
}
}
private delegate void efl_access_object_event_handler_del_delegate( Efl.Access.Event.Handler handler);
public delegate void efl_access_object_event_handler_del_api_delegate( Efl.Access.Event.Handler handler);
public static Efl.Eo.FunctionWrapper efl_access_object_event_handler_del_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_event_handler_del");
private static void event_handler_del(System.IntPtr obj, System.IntPtr pd, Efl.Access.Event.Handler handler)
{
Eina.Log.Debug("function efl_access_object_event_handler_del was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
IObjectConcrete.DelEventHandler(handler);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_access_object_event_handler_del_ptr.Value.Delegate(handler);
}
}
private delegate void efl_access_object_event_emit_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Access.IObject accessible, System.IntPtr kw_event, System.IntPtr event_info);
public delegate void efl_access_object_event_emit_api_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Access.IObject accessible, System.IntPtr kw_event, System.IntPtr event_info);
public static Efl.Eo.FunctionWrapper efl_access_object_event_emit_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_event_emit");
private static void event_emit(System.IntPtr obj, System.IntPtr pd, Efl.Access.IObject accessible, System.IntPtr kw_event, System.IntPtr event_info)
{
Eina.Log.Debug("function efl_access_object_event_emit was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
var _in_kw_event = Eina.PrimitiveConversion.PointerToManaged(kw_event);
try
{
IObjectConcrete.EmitEvent(accessible, _in_kw_event, event_info);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_access_object_event_emit_ptr.Value.Delegate(accessible, kw_event, event_info);
}
}
[return: MarshalAs(UnmanagedType.U1)]
private delegate bool efl_access_object_relationship_append_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Access.RelationType type, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Access.IObject relation_object);
[return: MarshalAs(UnmanagedType.U1)]
public delegate bool efl_access_object_relationship_append_api_delegate(System.IntPtr obj, Efl.Access.RelationType type, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Access.IObject relation_object);
public static Efl.Eo.FunctionWrapper efl_access_object_relationship_append_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_relationship_append");
private static bool relationship_append(System.IntPtr obj, System.IntPtr pd, Efl.Access.RelationType type, Efl.Access.IObject relation_object)
{
Eina.Log.Debug("function efl_access_object_relationship_append was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
bool _ret_var = default(bool);
try
{
_ret_var = ((IObject)ws.Target).AppendRelationship(type, relation_object);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_access_object_relationship_append_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), type, relation_object);
}
}
private static efl_access_object_relationship_append_delegate efl_access_object_relationship_append_static_delegate;
private delegate void efl_access_object_relationship_remove_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Access.RelationType type, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Access.IObject relation_object);
public delegate void efl_access_object_relationship_remove_api_delegate(System.IntPtr obj, Efl.Access.RelationType type, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Access.IObject relation_object);
public static Efl.Eo.FunctionWrapper efl_access_object_relationship_remove_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_relationship_remove");
private static void relationship_remove(System.IntPtr obj, System.IntPtr pd, Efl.Access.RelationType type, Efl.Access.IObject relation_object)
{
Eina.Log.Debug("function efl_access_object_relationship_remove was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((IObject)ws.Target).RelationshipRemove(type, relation_object);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_access_object_relationship_remove_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), type, relation_object);
}
}
private static efl_access_object_relationship_remove_delegate efl_access_object_relationship_remove_static_delegate;
private delegate void efl_access_object_relationships_clear_delegate(System.IntPtr obj, System.IntPtr pd);
public delegate void efl_access_object_relationships_clear_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_access_object_relationships_clear_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_relationships_clear");
private static void relationships_clear(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_access_object_relationships_clear was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((IObject)ws.Target).ClearRelationships();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_access_object_relationships_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_access_object_relationships_clear_delegate efl_access_object_relationships_clear_static_delegate;
private delegate void efl_access_object_state_notify_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Access.StateSet state_types_mask, [MarshalAs(UnmanagedType.U1)] bool recursive);
public delegate void efl_access_object_state_notify_api_delegate(System.IntPtr obj, Efl.Access.StateSet state_types_mask, [MarshalAs(UnmanagedType.U1)] bool recursive);
public static Efl.Eo.FunctionWrapper efl_access_object_state_notify_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_object_state_notify");
private static void state_notify(System.IntPtr obj, System.IntPtr pd, Efl.Access.StateSet state_types_mask, bool recursive)
{
Eina.Log.Debug("function efl_access_object_state_notify was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((IObject)ws.Target).StateNotify(state_types_mask, recursive);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_access_object_state_notify_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), state_types_mask, recursive);
}
}
private static efl_access_object_state_notify_delegate efl_access_object_state_notify_static_delegate;
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
}
}
}
#if EFL_BETA
#pragma warning disable CS1591
public static class Efl_AccessIObjectConcrete_ExtensionMethods {
public static Efl.BindableProperty I18nName(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Access.IObject {
return new Efl.BindableProperty("i18n_name", fac);
}
public static Efl.BindableProperty Role(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Access.IObject {
return new Efl.BindableProperty("role", fac);
}
public static Efl.BindableProperty AccessParent(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Access.IObject {
return new Efl.BindableProperty("access_parent", fac);
}
public static Efl.BindableProperty ReadingInfoType(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Access.IObject {
return new Efl.BindableProperty("reading_info_type", fac);
}
public static Efl.BindableProperty Description(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Access.IObject {
return new Efl.BindableProperty("description", fac);
}
public static Efl.BindableProperty TranslationDomain(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Access.IObject {
return new Efl.BindableProperty("translation_domain", fac);
}
public static Efl.BindableProperty CanHighlight(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Access.IObject {
return new Efl.BindableProperty("can_highlight", fac);
}
}
#pragma warning restore CS1591
#endif
namespace Efl {
namespace Access {
/// Type of accessibility object
[Efl.Eo.BindingEntity]
public enum Type
{
/// default accessible object
Regular = 0,
/// skip object and its children in accessibility hierarchy
Disabled = 1,
/// skip object in accessibility hierarchy
Skipped = 2,
}
}
}
namespace Efl {
namespace Access {
/// Describes the role of an object visible to Accessibility Clients.
[Efl.Eo.BindingEntity]
public enum Role
{
/// Role: invalid
Invalid = 0,
/// Role: accelerator label
AcceleratorLabel = 1,
/// Role: alert
Alert = 2,
/// Role: animation
Animation = 3,
/// Role: arrow
Arrow = 4,
/// Role: calendar
Calendar = 5,
/// Role: canvas
Canvas = 6,
/// Role: check box
CheckBox = 7,
/// Role: check menu item
CheckMenuItem = 8,
/// Role: color chooser
ColorChooser = 9,
/// Role: column header
ColumnHeader = 10,
/// Role: combo box
ComboBox = 11,
/// Role: data editor
DateEditor = 12,
/// Role: desktop icon
DesktopIcon = 13,
/// Role: desktop frame
DesktopFrame = 14,
/// Role: dial
Dial = 15,
/// Role: dialog
Dialog = 16,
/// Role: directory pane
DirectoryPane = 17,
/// Role: drawing area
DrawingArea = 18,
/// Role: file chooser
FileChooser = 19,
/// Role: filler
Filler = 20,
/// Role: focus traversable
FocusTraversable = 21,
/// Role: font chooser
FontChooser = 22,
/// Role: frame
Frame = 23,
/// Role: glass pane
GlassPane = 24,
/// Role: HTML container
HtmlContainer = 25,
/// Role: icon
Icon = 26,
/// Role: image
Image = 27,
/// Role: internal frame
InternalFrame = 28,
/// Role: label
Label = 29,
/// Role: layered pane
LayeredPane = 30,
/// Role: list
List = 31,
/// Role: list item
ListItem = 32,
/// Role: menu
Menu = 33,
/// Role: menu bar
MenuBar = 34,
/// Role: menu item
MenuItem = 35,
/// Role: option pane
OptionPane = 36,
/// Role: page tab
PageTab = 37,
/// Role: page tab list
PageTabList = 38,
/// Role: panel
Panel = 39,
/// Role: password text
PasswordText = 40,
/// Role: popup menu
PopupMenu = 41,
/// Role: progress bar
ProgressBar = 42,
/// Role: push button
PushButton = 43,
/// Role: radio button
RadioButton = 44,
/// Role: radio menu item
RadioMenuItem = 45,
/// Role: root pane
RootPane = 46,
/// Role: row header
RowHeader = 47,
/// Role: scroll bar
ScrollBar = 48,
/// Role: scroll pane
ScrollPane = 49,
/// Role: separator
Separator = 50,
/// Role: slider
Slider = 51,
/// Role: spin button
SpinButton = 52,
/// Role: split pane
SplitPane = 53,
/// Role: status bar
StatusBar = 54,
/// Role: table
Table = 55,
/// Role: table cell
TableCell = 56,
/// Role: table column header
TableColumnHeader = 57,
/// Role: table row header
TableRowHeader = 58,
/// Role: tearoff menu item
TearoffMenuItem = 59,
/// Role: terminal
Terminal = 60,
/// Role: text
Text = 61,
/// Role: toggle button
ToggleButton = 62,
/// Role: too bar
ToolBar = 63,
/// Role: tool tip
ToolTip = 64,
/// Role: tree
Tree = 65,
/// Role: tree table
TreeTable = 66,
/// Role: unknown
Unknown = 67,
/// Role: viewport
Viewport = 68,
/// Role: window
Window = 69,
/// Role: extended
Extended = 70,
/// Role: header
Header = 71,
/// Role: footer
Footer = 72,
/// Role: paragraph
Paragraph = 73,
/// Role: ruler
Ruler = 74,
/// Role: application
Application = 75,
/// Role: autocomplete
Autocomplete = 76,
/// Role: editbar
Editbar = 77,
/// Role: embedded
Embedded = 78,
/// Role: entry
Entry = 79,
/// Role: chart
Chart = 80,
/// Role: caption
Caption = 81,
/// Role: document frame
DocumentFrame = 82,
/// Role: heading
Heading = 83,
/// Role: page
Page = 84,
/// Role: section
Section = 85,
/// Role: redundant object
RedundantObject = 86,
/// Role: form
Form = 87,
/// Role: link
Link = 88,
/// Role: input method window
InputMethodWindow = 89,
/// Role: table row
TableRow = 90,
/// Role: table item
TreeItem = 91,
/// Role: document spreadsheet
DocumentSpreadsheet = 92,
/// Role: document presentation
DocumentPresentation = 93,
/// Role: document text
DocumentText = 94,
/// Role: document web
DocumentWeb = 95,
/// Role: document email
DocumentEmail = 96,
/// Role: comment
Comment = 97,
/// Role: list box
ListBox = 98,
/// Role: grouping
Grouping = 99,
/// Role: image map
ImageMap = 100,
/// Role: notification
Notification = 101,
/// Role: info bar
InfoBar = 102,
/// Last enum entry sentinel
LastDefined = 103,
}
}
}
namespace Efl {
namespace Access {
/// Describes the possible states for an object visible to accessibility clients.
[Efl.Eo.BindingEntity]
public enum StateType
{
/// State: invalid
Invalid = 0,
/// State: active
Active = 1,
/// State: armed
Armed = 2,
/// State: busy
Busy = 3,
/// State: checked
Checked = 4,
/// State: collapsed
Collapsed = 5,
/// State: defunct
Defunct = 6,
/// State: editable
Editable = 7,
/// State: enabled
Enabled = 8,
/// State: expandable
Expandable = 9,
/// State: expanded
Expanded = 10,
/// State: focusable
Focusable = 11,
/// State: focused
Focused = 12,
/// State: has a tooltip
HasTooltip = 13,
/// State: horizontal
Horizontal = 14,
/// State: minimized
Minimized = 15,
/// State: modal
Modal = 16,
/// State: multi line
MultiLine = 17,
/// State: multiselectable
Multiselectable = 18,
/// State: opaque
Opaque = 19,
/// State: pressed
Pressed = 20,
/// State: resizable
Resizable = 21,
/// State: selectable
Selectable = 22,
/// State: selected
Selected = 23,
/// State: sensitive
Sensitive = 24,
/// State: showing
Showing = 25,
/// State: single line
SingleLine = 26,
/// State: stale
Stale = 27,
/// State: transient
Transient = 28,
/// State: vertical
Vertical = 29,
/// State: visible
Visible = 30,
/// State: manage descendants
ManagesDescendants = 31,
/// State: indeterminate
Indeterminate = 32,
/// State: required
Required = 33,
/// State: truncated
Truncated = 34,
/// State: animated
Animated = 35,
/// State: invalid entry
InvalidEntry = 36,
/// State: supports autocompletion
SupportsAutocompletion = 37,
/// State: selectable text
SelectableText = 38,
/// State: is default
IsDefault = 39,
/// State: visited
Visited = 40,
/// State: checkable
Checkable = 41,
/// State: has popup
HasPopup = 42,
/// State: read only
ReadOnly = 43,
/// State: highlighted
Highlighted = 44,
/// State: highlightable
Highlightable = 45,
/// Last enum entry sentinel
LastDefined = 46,
}
}
}
namespace Efl {
namespace Access {
/// Describes the relationship between two objects.
[Efl.Eo.BindingEntity]
public enum RelationType
{
/// No relation
Null = 0,
/// Label for relation
LabelFor = 1,
/// Labelled by relation
LabelledBy = 2,
/// Controller for relation
ControllerFor = 3,
/// Controlled by relation
ControlledBy = 4,
/// Member of relation
MemberOf = 5,
/// Tooltip for relation
TooltipFor = 6,
/// Node child of relation
NodeChildOf = 7,
/// Node parent of relation
NodeParentOf = 8,
/// Extended relation
Extended = 9,
/// Flows to relation
FlowsTo = 10,
/// Flows from relation
FlowsFrom = 11,
/// Subwindow of relation
SubwindowOf = 12,
/// Embeds relation
Embeds = 13,
/// Embedded by relation
EmbeddedBy = 14,
/// Popup for relation
PopupFor = 15,
/// Parent window of relation
ParentWindowOf = 16,
/// Description for relation
DescriptionFor = 17,
/// Described by relation
DescribedBy = 18,
/// Last enum entry sentinel
LastDefined = 19,
}
}
}
namespace Efl {
namespace Access {
namespace Reading {
namespace Info {
/// The accessible Reading information type that can be read.
[Efl.Eo.BindingEntity]
public enum Type
{
/// Name should be read
Name = 1,
/// Role should be read
Role = 2,
/// description should be read.
Description = 4,
/// State should be read.
State = 8,
}
}
}
}
}
namespace Efl {
namespace Access {
[Efl.Eo.BindingEntity]
public enum Gesture
{
OneFingerHover = 0,
TwoFingersHover = 1,
ThreeFingersHover = 2,
OneFingerFlickLeft = 3,
OneFingerFlickRight = 4,
OneFingerFlickUp = 5,
OneFingerFlickDown = 6,
TwoFingersFlickLeft = 7,
TwoFingersFlickRight = 8,
TwoFingersFlickUp = 9,
TwoFingersFlickDown = 10,
ThreeFingersFlickLeft = 11,
ThreeFingersFlickRight = 12,
ThreeFingersFlickUp = 13,
ThreeFingersFlickDown = 14,
OneFingerSingleTap = 15,
OneFingerDoubleTap = 16,
OneFingerTripleTap = 17,
TwoFingersSingleTap = 18,
TwoFingersDoubleTap = 19,
TwoFingersTripleTap = 20,
ThreeFingersSingleTap = 21,
ThreeFingersDoubleTap = 22,
ThreeFingersTripleTap = 23,
OneFingerFlickLeftReturn = 24,
OneFingerFlickRightReturn = 25,
OneFingerFlickUpReturn = 26,
OneFingerFlickDownReturn = 27,
TwoFingersFlickLeftReturn = 28,
TwoFingersFlickRightReturn = 29,
TwoFingersFlickUpReturn = 30,
TwoFingersFlickDownReturn = 31,
ThreeFingersFlickLeftReturn = 32,
ThreeFingersFlickRightReturn = 33,
ThreeFingersFlickUpReturn = 34,
ThreeFingersFlickDownReturn = 35,
}
}
}
namespace Efl {
namespace Access {
[Efl.Eo.BindingEntity]
public enum GestureState
{
Start = 0,
Move = 1,
End = 2,
Abort = 3,
}
}
}
namespace Efl {
namespace Access {
namespace Event {
/// Accessibility event listener
[StructLayout(LayoutKind.Sequential)]
[Efl.Eo.BindingEntity]
public struct Handler
{
/// Placeholder field
public IntPtr field;
/// Implicit conversion to the managed representation from a native pointer.
/// Native pointer to be converted.
public static implicit operator Handler(IntPtr ptr)
{
var tmp = (Handler.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Handler.NativeStruct));
return tmp;
}
#pragma warning disable CS1591
/// Internal wrapper for struct Handler.
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
internal IntPtr field;
/// Implicit conversion to the internal/marshalling representation.
public static implicit operator Handler.NativeStruct(Handler _external_struct)
{
var _internal_struct = new Handler.NativeStruct();
return _internal_struct;
}
/// Implicit conversion to the managed representation.
public static implicit operator Handler(Handler.NativeStruct _internal_struct)
{
var _external_struct = new Handler();
return _external_struct;
}
}
#pragma warning restore CS1591
}
}
}
}
namespace Efl {
namespace Access {
namespace Event {
namespace StateChanged {
/// Accessibility state changed event data
[StructLayout(LayoutKind.Sequential)]
[Efl.Eo.BindingEntity]
public struct Data
{
/// Type of the state changed event
/// Describes the possible states for an object visible to accessibility clients.
public Efl.Access.StateType Type;
/// New value
public bool New_value;
/// Constructor for Data.
/// Type of the state changed event;
/// New value;
public Data(
Efl.Access.StateType Type = default(Efl.Access.StateType),
bool New_value = default(bool) )
{
this.Type = Type;
this.New_value = New_value;
}
/// Implicit conversion to the managed representation from a native pointer.
/// Native pointer to be converted.
public static implicit operator Data(IntPtr ptr)
{
var tmp = (Data.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Data.NativeStruct));
return tmp;
}
#pragma warning disable CS1591
/// Internal wrapper for struct Data.
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public Efl.Access.StateType Type;
/// Internal wrapper for field New_value
public System.Byte New_value;
/// Implicit conversion to the internal/marshalling representation.
public static implicit operator Data.NativeStruct(Data _external_struct)
{
var _internal_struct = new Data.NativeStruct();
_internal_struct.Type = _external_struct.Type;
_internal_struct.New_value = _external_struct.New_value ? (byte)1 : (byte)0;
return _internal_struct;
}
/// Implicit conversion to the managed representation.
public static implicit operator Data(Data.NativeStruct _internal_struct)
{
var _external_struct = new Data();
_external_struct.Type = _internal_struct.Type;
_external_struct.New_value = _internal_struct.New_value != 0;
return _external_struct;
}
}
#pragma warning restore CS1591
}
}
}
}
}
namespace Efl {
namespace Access {
namespace Event {
namespace GeometryChanged {
/// Accessibility geometry changed event data
[StructLayout(LayoutKind.Sequential)]
[Efl.Eo.BindingEntity]
public struct Data
{
/// X coordinate
public int X;
/// Y coordinate
public int Y;
/// Width
public int Width;
/// Height
public int Height;
/// Constructor for Data.
/// X coordinate;
/// Y coordinate;
/// Width;
/// Height;
public Data(
int X = default(int),
int Y = default(int),
int Width = default(int),
int Height = default(int) )
{
this.X = X;
this.Y = Y;
this.Width = Width;
this.Height = Height;
}
/// Implicit conversion to the managed representation from a native pointer.
/// Native pointer to be converted.
public static implicit operator Data(IntPtr ptr)
{
var tmp = (Data.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Data.NativeStruct));
return tmp;
}
#pragma warning disable CS1591
/// Internal wrapper for struct Data.
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public int X;
public int Y;
public int Width;
public int Height;
/// Implicit conversion to the internal/marshalling representation.
public static implicit operator Data.NativeStruct(Data _external_struct)
{
var _internal_struct = new Data.NativeStruct();
_internal_struct.X = _external_struct.X;
_internal_struct.Y = _external_struct.Y;
_internal_struct.Width = _external_struct.Width;
_internal_struct.Height = _external_struct.Height;
return _internal_struct;
}
/// Implicit conversion to the managed representation.
public static implicit operator Data(Data.NativeStruct _internal_struct)
{
var _external_struct = new Data();
_external_struct.X = _internal_struct.X;
_external_struct.Y = _internal_struct.Y;
_external_struct.Width = _internal_struct.Width;
_external_struct.Height = _internal_struct.Height;
return _external_struct;
}
}
#pragma warning restore CS1591
}
}
}
}
}
namespace Efl {
namespace Access {
namespace Event {
namespace ChildrenChanged {
/// Accessibility children changed event data
[StructLayout(LayoutKind.Sequential)]
[Efl.Eo.BindingEntity]
public struct Data
{
/// Child is added or not
public bool Is_added;
/// Child object
public Efl.Object Child;
/// Constructor for Data.
/// Child is added or not;
/// Child object;
public Data(
bool Is_added = default(bool),
Efl.Object Child = default(Efl.Object) )
{
this.Is_added = Is_added;
this.Child = Child;
}
/// Implicit conversion to the managed representation from a native pointer.
/// Native pointer to be converted.
public static implicit operator Data(IntPtr ptr)
{
var tmp = (Data.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Data.NativeStruct));
return tmp;
}
#pragma warning disable CS1591
/// Internal wrapper for struct Data.
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
/// Internal wrapper for field Is_added
public System.Byte Is_added;
/// Internal wrapper for field Child
public System.IntPtr Child;
/// Implicit conversion to the internal/marshalling representation.
public static implicit operator Data.NativeStruct(Data _external_struct)
{
var _internal_struct = new Data.NativeStruct();
_internal_struct.Is_added = _external_struct.Is_added ? (byte)1 : (byte)0;
_internal_struct.Child = _external_struct.Child?.NativeHandle ?? System.IntPtr.Zero;
return _internal_struct;
}
/// Implicit conversion to the managed representation.
public static implicit operator Data(Data.NativeStruct _internal_struct)
{
var _external_struct = new Data();
_external_struct.Is_added = _internal_struct.Is_added != 0;
_external_struct.Child = (Efl.Object) Efl.Eo.Globals.CreateWrapperFor(_internal_struct.Child);
return _external_struct;
}
}
#pragma warning restore CS1591
}
}
}
}
}
namespace Efl {
namespace Access {
/// Accessibility Attribute
[StructLayout(LayoutKind.Sequential)]
[Efl.Eo.BindingEntity]
public struct Attribute
{
/// Attribute key
public System.String Key;
/// Attribute value
public System.String Value;
/// Constructor for Attribute.
/// Attribute key;
/// Attribute value;
public Attribute(
System.String Key = default(System.String),
System.String Value = default(System.String) )
{
this.Key = Key;
this.Value = Value;
}
/// Implicit conversion to the managed representation from a native pointer.
/// Native pointer to be converted.
public static implicit operator Attribute(IntPtr ptr)
{
var tmp = (Attribute.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Attribute.NativeStruct));
return tmp;
}
#pragma warning disable CS1591
/// Internal wrapper for struct Attribute.
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
/// Internal wrapper for field Key
public System.IntPtr Key;
/// Internal wrapper for field Value
public System.IntPtr Value;
/// Implicit conversion to the internal/marshalling representation.
public static implicit operator Attribute.NativeStruct(Attribute _external_struct)
{
var _internal_struct = new Attribute.NativeStruct();
_internal_struct.Key = Eina.MemoryNative.StrDup(_external_struct.Key);
_internal_struct.Value = Eina.MemoryNative.StrDup(_external_struct.Value);
return _internal_struct;
}
/// Implicit conversion to the managed representation.
public static implicit operator Attribute(Attribute.NativeStruct _internal_struct)
{
var _external_struct = new Attribute();
_external_struct.Key = Eina.StringConversion.NativeUtf8ToManagedString(_internal_struct.Key);
_external_struct.Value = Eina.StringConversion.NativeUtf8ToManagedString(_internal_struct.Value);
return _external_struct;
}
}
#pragma warning restore CS1591
}
}
}
namespace Efl {
namespace Access {
/// Accessibility Relation
[StructLayout(LayoutKind.Sequential)]
[Efl.Eo.BindingEntity]
public struct Relation
{
/// Relation type
/// Describes the relationship between two objects.
public Efl.Access.RelationType Type;
/// List with relation objects
public Eina.List Objects;
/// Constructor for Relation.
/// Relation type;
/// List with relation objects;
public Relation(
Efl.Access.RelationType Type = default(Efl.Access.RelationType),
Eina.List Objects = default(Eina.List) )
{
this.Type = Type;
this.Objects = Objects;
}
/// Implicit conversion to the managed representation from a native pointer.
/// Native pointer to be converted.
public static implicit operator Relation(IntPtr ptr)
{
var tmp = (Relation.NativeStruct)Marshal.PtrToStructure(ptr, typeof(Relation.NativeStruct));
return tmp;
}
#pragma warning disable CS1591
/// Internal wrapper for struct Relation.
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public Efl.Access.RelationType Type;
public System.IntPtr Objects;
/// Implicit conversion to the internal/marshalling representation.
public static implicit operator Relation.NativeStruct(Relation _external_struct)
{
var _internal_struct = new Relation.NativeStruct();
_internal_struct.Type = _external_struct.Type;
_internal_struct.Objects = _external_struct.Objects.Handle;
return _internal_struct;
}
/// Implicit conversion to the managed representation.
public static implicit operator Relation(Relation.NativeStruct _internal_struct)
{
var _external_struct = new Relation();
_external_struct.Type = _internal_struct.Type;
_external_struct.Objects = new Eina.List(_internal_struct.Objects, false, false);
return _external_struct;
}
}
#pragma warning restore CS1591
}
}
}
namespace Efl {
namespace Access {
[StructLayout(LayoutKind.Sequential)]
[Efl.Eo.BindingEntity]
public struct GestureInfo
{
/// Gesture type
public Efl.Access.Gesture Type;
/// start gesture x co-ordinate
public int X_beg;
/// start gesture y co-ordinate
public int Y_beg;
/// end gesture x co-ordinate
public int X_end;
/// end gesture y co-ordinate
public int Y_end;
/// state of gesture
public Efl.Access.GestureState State;
/// gesture occurance time
public uint Event_time;
/// Constructor for GestureInfo.
/// Gesture type;
/// start gesture x co-ordinate;
/// start gesture y co-ordinate;
/// end gesture x co-ordinate;
/// end gesture y co-ordinate;
/// state of gesture;
/// gesture occurance time;
public GestureInfo(
Efl.Access.Gesture Type = default(Efl.Access.Gesture),
int X_beg = default(int),
int Y_beg = default(int),
int X_end = default(int),
int Y_end = default(int),
Efl.Access.GestureState State = default(Efl.Access.GestureState),
uint Event_time = default(uint) )
{
this.Type = Type;
this.X_beg = X_beg;
this.Y_beg = Y_beg;
this.X_end = X_end;
this.Y_end = Y_end;
this.State = State;
this.Event_time = Event_time;
}
/// Implicit conversion to the managed representation from a native pointer.
/// Native pointer to be converted.
public static implicit operator GestureInfo(IntPtr ptr)
{
var tmp = (GestureInfo.NativeStruct)Marshal.PtrToStructure(ptr, typeof(GestureInfo.NativeStruct));
return tmp;
}
#pragma warning disable CS1591
/// Internal wrapper for struct GestureInfo.
[StructLayout(LayoutKind.Sequential)]
public struct NativeStruct
{
public Efl.Access.Gesture Type;
public int X_beg;
public int Y_beg;
public int X_end;
public int Y_end;
public Efl.Access.GestureState State;
public uint Event_time;
/// Implicit conversion to the internal/marshalling representation.
public static implicit operator GestureInfo.NativeStruct(GestureInfo _external_struct)
{
var _internal_struct = new GestureInfo.NativeStruct();
_internal_struct.Type = _external_struct.Type;
_internal_struct.X_beg = _external_struct.X_beg;
_internal_struct.Y_beg = _external_struct.Y_beg;
_internal_struct.X_end = _external_struct.X_end;
_internal_struct.Y_end = _external_struct.Y_end;
_internal_struct.State = _external_struct.State;
_internal_struct.Event_time = _external_struct.Event_time;
return _internal_struct;
}
/// Implicit conversion to the managed representation.
public static implicit operator GestureInfo(GestureInfo.NativeStruct _internal_struct)
{
var _external_struct = new GestureInfo();
_external_struct.Type = _internal_struct.Type;
_external_struct.X_beg = _internal_struct.X_beg;
_external_struct.Y_beg = _internal_struct.Y_beg;
_external_struct.X_end = _internal_struct.X_end;
_external_struct.Y_end = _internal_struct.Y_end;
_external_struct.State = _internal_struct.State;
_external_struct.Event_time = _internal_struct.Event_time;
return _external_struct;
}
}
#pragma warning restore CS1591
}
}
}