#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 { /// The look and layout of the text /// The text format can affect the geometry of the text object, as well as how characters are presented. /// This is a BETA class. It can be modified or removed in the future. Do not use it for product development. [Efl.ITextFormatConcrete.NativeMethods] [Efl.Eo.BindingEntity] public interface ITextFormat : Efl.Eo.IWrapper, IDisposable { /// Ellipsis value (number from -1.0 to 1.0) /// Ellipsis value double GetEllipsis(); /// Ellipsis value (number from -1.0 to 1.0) /// Ellipsis value void SetEllipsis(double value); /// Wrap mode for use in the text /// Wrap mode Efl.TextFormatWrap GetWrap(); /// Wrap mode for use in the text /// Wrap mode void SetWrap(Efl.TextFormatWrap wrap); /// Multiline is enabled or not /// true if multiline is enabled, false otherwise bool GetMultiline(); /// Multiline is enabled or not /// true if multiline is enabled, false otherwise void SetMultiline(bool enabled); /// Horizontal alignment of text /// Alignment type Efl.TextFormatHorizontalAlignmentAutoType GetHalignAutoType(); /// Horizontal alignment of text /// Alignment type void SetHalignAutoType(Efl.TextFormatHorizontalAlignmentAutoType value); /// Horizontal alignment of text /// Horizontal alignment value double GetHalign(); /// Horizontal alignment of text /// Horizontal alignment value void SetHalign(double value); /// Vertical alignment of text /// Vertical alignment value double GetValign(); /// Vertical alignment of text /// Vertical alignment value void SetValign(double value); /// Minimal line gap (top and bottom) for each line in the text /// value is absolute size. /// Line gap value double GetLinegap(); /// Minimal line gap (top and bottom) for each line in the text /// value is absolute size. /// Line gap value void SetLinegap(double value); /// Relative line gap (top and bottom) for each line in the text /// The original line gap value is multiplied by value. /// Relative line gap value double GetLinerelgap(); /// Relative line gap (top and bottom) for each line in the text /// The original line gap value is multiplied by value. /// Relative line gap value void SetLinerelgap(double value); /// Tabstops value /// Tapstops value int GetTabstops(); /// Tabstops value /// Tapstops value void SetTabstops(int value); /// Whether text is a password /// true if the text is a password, false otherwise bool GetPassword(); /// Whether text is a password /// true if the text is a password, false otherwise void SetPassword(bool enabled); /// The character used to replace characters that can't be displayed /// Currently only used to replace characters if is enabled. /// Replacement character System.String GetReplacementChar(); /// The character used to replace characters that can't be displayed /// Currently only used to replace characters if is enabled. /// Replacement character void SetReplacementChar(System.String repch); /// Ellipsis value (number from -1.0 to 1.0) /// Ellipsis value double Ellipsis { get; set; } /// Wrap mode for use in the text /// Wrap mode Efl.TextFormatWrap Wrap { get; set; } /// Multiline is enabled or not /// true if multiline is enabled, false otherwise bool Multiline { get; set; } /// Horizontal alignment of text /// Alignment type Efl.TextFormatHorizontalAlignmentAutoType HalignAutoType { get; set; } /// Horizontal alignment of text /// Horizontal alignment value double Halign { get; set; } /// Vertical alignment of text /// Vertical alignment value double Valign { get; set; } /// Minimal line gap (top and bottom) for each line in the text /// value is absolute size. /// Line gap value double Linegap { get; set; } /// Relative line gap (top and bottom) for each line in the text /// The original line gap value is multiplied by value. /// Relative line gap value double Linerelgap { get; set; } /// Tabstops value /// Tapstops value int Tabstops { get; set; } /// Whether text is a password /// true if the text is a password, false otherwise bool Password { get; set; } /// The character used to replace characters that can't be displayed /// Currently only used to replace characters if is enabled. /// Replacement character System.String ReplacementChar { get; set; } } /// The look and layout of the text /// The text format can affect the geometry of the text object, as well as how characters are presented. /// This is a BETA class. It can be modified or removed in the future. Do not use it for product development. sealed public class ITextFormatConcrete : Efl.Eo.EoWrapper , ITextFormat { /// Pointer to the native class description. public override System.IntPtr NativeClass { get { if (((object)this).GetType() == typeof(ITextFormatConcrete)) { 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 ITextFormatConcrete(ConstructingHandle ch) : base(ch) { } [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_text_format_interface_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 ITextFormatConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh) { } /// Ellipsis value (number from -1.0 to 1.0) /// Ellipsis value public double GetEllipsis() { var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_ellipsis_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Ellipsis value (number from -1.0 to 1.0) /// Ellipsis value public void SetEllipsis(double value) { Efl.ITextFormatConcrete.NativeMethods.efl_text_ellipsis_set_ptr.Value.Delegate(this.NativeHandle,value); Eina.Error.RaiseIfUnhandledException(); } /// Wrap mode for use in the text /// Wrap mode public Efl.TextFormatWrap GetWrap() { var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_wrap_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Wrap mode for use in the text /// Wrap mode public void SetWrap(Efl.TextFormatWrap wrap) { Efl.ITextFormatConcrete.NativeMethods.efl_text_wrap_set_ptr.Value.Delegate(this.NativeHandle,wrap); Eina.Error.RaiseIfUnhandledException(); } /// Multiline is enabled or not /// true if multiline is enabled, false otherwise public bool GetMultiline() { var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_multiline_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Multiline is enabled or not /// true if multiline is enabled, false otherwise public void SetMultiline(bool enabled) { Efl.ITextFormatConcrete.NativeMethods.efl_text_multiline_set_ptr.Value.Delegate(this.NativeHandle,enabled); Eina.Error.RaiseIfUnhandledException(); } /// Horizontal alignment of text /// Alignment type public Efl.TextFormatHorizontalAlignmentAutoType GetHalignAutoType() { var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_auto_type_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Horizontal alignment of text /// Alignment type public void SetHalignAutoType(Efl.TextFormatHorizontalAlignmentAutoType value) { Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_auto_type_set_ptr.Value.Delegate(this.NativeHandle,value); Eina.Error.RaiseIfUnhandledException(); } /// Horizontal alignment of text /// Horizontal alignment value public double GetHalign() { var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Horizontal alignment of text /// Horizontal alignment value public void SetHalign(double value) { Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_set_ptr.Value.Delegate(this.NativeHandle,value); Eina.Error.RaiseIfUnhandledException(); } /// Vertical alignment of text /// Vertical alignment value public double GetValign() { var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_valign_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Vertical alignment of text /// Vertical alignment value public void SetValign(double value) { Efl.ITextFormatConcrete.NativeMethods.efl_text_valign_set_ptr.Value.Delegate(this.NativeHandle,value); Eina.Error.RaiseIfUnhandledException(); } /// Minimal line gap (top and bottom) for each line in the text /// value is absolute size. /// Line gap value public double GetLinegap() { var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_linegap_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Minimal line gap (top and bottom) for each line in the text /// value is absolute size. /// Line gap value public void SetLinegap(double value) { Efl.ITextFormatConcrete.NativeMethods.efl_text_linegap_set_ptr.Value.Delegate(this.NativeHandle,value); Eina.Error.RaiseIfUnhandledException(); } /// Relative line gap (top and bottom) for each line in the text /// The original line gap value is multiplied by value. /// Relative line gap value public double GetLinerelgap() { var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_linerelgap_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Relative line gap (top and bottom) for each line in the text /// The original line gap value is multiplied by value. /// Relative line gap value public void SetLinerelgap(double value) { Efl.ITextFormatConcrete.NativeMethods.efl_text_linerelgap_set_ptr.Value.Delegate(this.NativeHandle,value); Eina.Error.RaiseIfUnhandledException(); } /// Tabstops value /// Tapstops value public int GetTabstops() { var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_tabstops_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Tabstops value /// Tapstops value public void SetTabstops(int value) { Efl.ITextFormatConcrete.NativeMethods.efl_text_tabstops_set_ptr.Value.Delegate(this.NativeHandle,value); Eina.Error.RaiseIfUnhandledException(); } /// Whether text is a password /// true if the text is a password, false otherwise public bool GetPassword() { var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_password_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Whether text is a password /// true if the text is a password, false otherwise public void SetPassword(bool enabled) { Efl.ITextFormatConcrete.NativeMethods.efl_text_password_set_ptr.Value.Delegate(this.NativeHandle,enabled); Eina.Error.RaiseIfUnhandledException(); } /// The character used to replace characters that can't be displayed /// Currently only used to replace characters if is enabled. /// Replacement character public System.String GetReplacementChar() { var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_replacement_char_get_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// The character used to replace characters that can't be displayed /// Currently only used to replace characters if is enabled. /// Replacement character public void SetReplacementChar(System.String repch) { Efl.ITextFormatConcrete.NativeMethods.efl_text_replacement_char_set_ptr.Value.Delegate(this.NativeHandle,repch); Eina.Error.RaiseIfUnhandledException(); } /// Ellipsis value (number from -1.0 to 1.0) /// Ellipsis value public double Ellipsis { get { return GetEllipsis(); } set { SetEllipsis(value); } } /// Wrap mode for use in the text /// Wrap mode public Efl.TextFormatWrap Wrap { get { return GetWrap(); } set { SetWrap(value); } } /// Multiline is enabled or not /// true if multiline is enabled, false otherwise public bool Multiline { get { return GetMultiline(); } set { SetMultiline(value); } } /// Horizontal alignment of text /// Alignment type public Efl.TextFormatHorizontalAlignmentAutoType HalignAutoType { get { return GetHalignAutoType(); } set { SetHalignAutoType(value); } } /// Horizontal alignment of text /// Horizontal alignment value public double Halign { get { return GetHalign(); } set { SetHalign(value); } } /// Vertical alignment of text /// Vertical alignment value public double Valign { get { return GetValign(); } set { SetValign(value); } } /// Minimal line gap (top and bottom) for each line in the text /// value is absolute size. /// Line gap value public double Linegap { get { return GetLinegap(); } set { SetLinegap(value); } } /// Relative line gap (top and bottom) for each line in the text /// The original line gap value is multiplied by value. /// Relative line gap value public double Linerelgap { get { return GetLinerelgap(); } set { SetLinerelgap(value); } } /// Tabstops value /// Tapstops value public int Tabstops { get { return GetTabstops(); } set { SetTabstops(value); } } /// Whether text is a password /// true if the text is a password, false otherwise public bool Password { get { return GetPassword(); } set { SetPassword(value); } } /// The character used to replace characters that can't be displayed /// Currently only used to replace characters if is enabled. /// Replacement character public System.String ReplacementChar { get { return GetReplacementChar(); } set { SetReplacementChar(value); } } private static IntPtr GetEflClassStatic() { return Efl.ITextFormatConcrete.efl_text_format_interface_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.Efl); /// 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_text_ellipsis_get_static_delegate == null) { efl_text_ellipsis_get_static_delegate = new efl_text_ellipsis_get_delegate(ellipsis_get); } if (methods.FirstOrDefault(m => m.Name == "GetEllipsis") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_ellipsis_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_ellipsis_get_static_delegate) }); } if (efl_text_ellipsis_set_static_delegate == null) { efl_text_ellipsis_set_static_delegate = new efl_text_ellipsis_set_delegate(ellipsis_set); } if (methods.FirstOrDefault(m => m.Name == "SetEllipsis") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_ellipsis_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_ellipsis_set_static_delegate) }); } if (efl_text_wrap_get_static_delegate == null) { efl_text_wrap_get_static_delegate = new efl_text_wrap_get_delegate(wrap_get); } if (methods.FirstOrDefault(m => m.Name == "GetWrap") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_wrap_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_wrap_get_static_delegate) }); } if (efl_text_wrap_set_static_delegate == null) { efl_text_wrap_set_static_delegate = new efl_text_wrap_set_delegate(wrap_set); } if (methods.FirstOrDefault(m => m.Name == "SetWrap") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_wrap_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_wrap_set_static_delegate) }); } if (efl_text_multiline_get_static_delegate == null) { efl_text_multiline_get_static_delegate = new efl_text_multiline_get_delegate(multiline_get); } if (methods.FirstOrDefault(m => m.Name == "GetMultiline") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_multiline_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_multiline_get_static_delegate) }); } if (efl_text_multiline_set_static_delegate == null) { efl_text_multiline_set_static_delegate = new efl_text_multiline_set_delegate(multiline_set); } if (methods.FirstOrDefault(m => m.Name == "SetMultiline") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_multiline_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_multiline_set_static_delegate) }); } if (efl_text_halign_auto_type_get_static_delegate == null) { efl_text_halign_auto_type_get_static_delegate = new efl_text_halign_auto_type_get_delegate(halign_auto_type_get); } if (methods.FirstOrDefault(m => m.Name == "GetHalignAutoType") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_halign_auto_type_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_halign_auto_type_get_static_delegate) }); } if (efl_text_halign_auto_type_set_static_delegate == null) { efl_text_halign_auto_type_set_static_delegate = new efl_text_halign_auto_type_set_delegate(halign_auto_type_set); } if (methods.FirstOrDefault(m => m.Name == "SetHalignAutoType") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_halign_auto_type_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_halign_auto_type_set_static_delegate) }); } if (efl_text_halign_get_static_delegate == null) { efl_text_halign_get_static_delegate = new efl_text_halign_get_delegate(halign_get); } if (methods.FirstOrDefault(m => m.Name == "GetHalign") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_halign_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_halign_get_static_delegate) }); } if (efl_text_halign_set_static_delegate == null) { efl_text_halign_set_static_delegate = new efl_text_halign_set_delegate(halign_set); } if (methods.FirstOrDefault(m => m.Name == "SetHalign") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_halign_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_halign_set_static_delegate) }); } if (efl_text_valign_get_static_delegate == null) { efl_text_valign_get_static_delegate = new efl_text_valign_get_delegate(valign_get); } if (methods.FirstOrDefault(m => m.Name == "GetValign") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_valign_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_valign_get_static_delegate) }); } if (efl_text_valign_set_static_delegate == null) { efl_text_valign_set_static_delegate = new efl_text_valign_set_delegate(valign_set); } if (methods.FirstOrDefault(m => m.Name == "SetValign") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_valign_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_valign_set_static_delegate) }); } if (efl_text_linegap_get_static_delegate == null) { efl_text_linegap_get_static_delegate = new efl_text_linegap_get_delegate(linegap_get); } if (methods.FirstOrDefault(m => m.Name == "GetLinegap") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_linegap_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_linegap_get_static_delegate) }); } if (efl_text_linegap_set_static_delegate == null) { efl_text_linegap_set_static_delegate = new efl_text_linegap_set_delegate(linegap_set); } if (methods.FirstOrDefault(m => m.Name == "SetLinegap") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_linegap_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_linegap_set_static_delegate) }); } if (efl_text_linerelgap_get_static_delegate == null) { efl_text_linerelgap_get_static_delegate = new efl_text_linerelgap_get_delegate(linerelgap_get); } if (methods.FirstOrDefault(m => m.Name == "GetLinerelgap") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_linerelgap_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_linerelgap_get_static_delegate) }); } if (efl_text_linerelgap_set_static_delegate == null) { efl_text_linerelgap_set_static_delegate = new efl_text_linerelgap_set_delegate(linerelgap_set); } if (methods.FirstOrDefault(m => m.Name == "SetLinerelgap") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_linerelgap_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_linerelgap_set_static_delegate) }); } if (efl_text_tabstops_get_static_delegate == null) { efl_text_tabstops_get_static_delegate = new efl_text_tabstops_get_delegate(tabstops_get); } if (methods.FirstOrDefault(m => m.Name == "GetTabstops") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_tabstops_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_tabstops_get_static_delegate) }); } if (efl_text_tabstops_set_static_delegate == null) { efl_text_tabstops_set_static_delegate = new efl_text_tabstops_set_delegate(tabstops_set); } if (methods.FirstOrDefault(m => m.Name == "SetTabstops") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_tabstops_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_tabstops_set_static_delegate) }); } if (efl_text_password_get_static_delegate == null) { efl_text_password_get_static_delegate = new efl_text_password_get_delegate(password_get); } if (methods.FirstOrDefault(m => m.Name == "GetPassword") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_password_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_password_get_static_delegate) }); } if (efl_text_password_set_static_delegate == null) { efl_text_password_set_static_delegate = new efl_text_password_set_delegate(password_set); } if (methods.FirstOrDefault(m => m.Name == "SetPassword") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_password_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_password_set_static_delegate) }); } if (efl_text_replacement_char_get_static_delegate == null) { efl_text_replacement_char_get_static_delegate = new efl_text_replacement_char_get_delegate(replacement_char_get); } if (methods.FirstOrDefault(m => m.Name == "GetReplacementChar") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_replacement_char_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_replacement_char_get_static_delegate) }); } if (efl_text_replacement_char_set_static_delegate == null) { efl_text_replacement_char_set_static_delegate = new efl_text_replacement_char_set_delegate(replacement_char_set); } if (methods.FirstOrDefault(m => m.Name == "SetReplacementChar") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_replacement_char_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_replacement_char_set_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.ITextFormatConcrete.efl_text_format_interface_get(); } #pragma warning disable CA1707, CS1591, SA1300, SA1600 private delegate double efl_text_ellipsis_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate double efl_text_ellipsis_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_text_ellipsis_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_ellipsis_get"); private static double ellipsis_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_text_ellipsis_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { double _ret_var = default(double); try { _ret_var = ((ITextFormat)ws.Target).GetEllipsis(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_ellipsis_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_text_ellipsis_get_delegate efl_text_ellipsis_get_static_delegate; private delegate void efl_text_ellipsis_set_delegate(System.IntPtr obj, System.IntPtr pd, double value); public delegate void efl_text_ellipsis_set_api_delegate(System.IntPtr obj, double value); public static Efl.Eo.FunctionWrapper efl_text_ellipsis_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_ellipsis_set"); private static void ellipsis_set(System.IntPtr obj, System.IntPtr pd, double value) { Eina.Log.Debug("function efl_text_ellipsis_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextFormat)ws.Target).SetEllipsis(value); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_ellipsis_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value); } } private static efl_text_ellipsis_set_delegate efl_text_ellipsis_set_static_delegate; private delegate Efl.TextFormatWrap efl_text_wrap_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Efl.TextFormatWrap efl_text_wrap_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_text_wrap_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_wrap_get"); private static Efl.TextFormatWrap wrap_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_text_wrap_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.TextFormatWrap _ret_var = default(Efl.TextFormatWrap); try { _ret_var = ((ITextFormat)ws.Target).GetWrap(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_wrap_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_text_wrap_get_delegate efl_text_wrap_get_static_delegate; private delegate void efl_text_wrap_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFormatWrap wrap); public delegate void efl_text_wrap_set_api_delegate(System.IntPtr obj, Efl.TextFormatWrap wrap); public static Efl.Eo.FunctionWrapper efl_text_wrap_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_wrap_set"); private static void wrap_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFormatWrap wrap) { Eina.Log.Debug("function efl_text_wrap_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextFormat)ws.Target).SetWrap(wrap); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_wrap_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), wrap); } } private static efl_text_wrap_set_delegate efl_text_wrap_set_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_text_multiline_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_text_multiline_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_text_multiline_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_multiline_get"); private static bool multiline_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_text_multiline_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((ITextFormat)ws.Target).GetMultiline(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_multiline_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_text_multiline_get_delegate efl_text_multiline_get_static_delegate; private delegate void efl_text_multiline_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool enabled); public delegate void efl_text_multiline_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool enabled); public static Efl.Eo.FunctionWrapper efl_text_multiline_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_multiline_set"); private static void multiline_set(System.IntPtr obj, System.IntPtr pd, bool enabled) { Eina.Log.Debug("function efl_text_multiline_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextFormat)ws.Target).SetMultiline(enabled); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_multiline_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), enabled); } } private static efl_text_multiline_set_delegate efl_text_multiline_set_static_delegate; private delegate Efl.TextFormatHorizontalAlignmentAutoType efl_text_halign_auto_type_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Efl.TextFormatHorizontalAlignmentAutoType efl_text_halign_auto_type_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_text_halign_auto_type_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_halign_auto_type_get"); private static Efl.TextFormatHorizontalAlignmentAutoType halign_auto_type_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_text_halign_auto_type_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.TextFormatHorizontalAlignmentAutoType _ret_var = default(Efl.TextFormatHorizontalAlignmentAutoType); try { _ret_var = ((ITextFormat)ws.Target).GetHalignAutoType(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_halign_auto_type_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_text_halign_auto_type_get_delegate efl_text_halign_auto_type_get_static_delegate; private delegate void efl_text_halign_auto_type_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFormatHorizontalAlignmentAutoType value); public delegate void efl_text_halign_auto_type_set_api_delegate(System.IntPtr obj, Efl.TextFormatHorizontalAlignmentAutoType value); public static Efl.Eo.FunctionWrapper efl_text_halign_auto_type_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_halign_auto_type_set"); private static void halign_auto_type_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFormatHorizontalAlignmentAutoType value) { Eina.Log.Debug("function efl_text_halign_auto_type_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextFormat)ws.Target).SetHalignAutoType(value); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_halign_auto_type_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value); } } private static efl_text_halign_auto_type_set_delegate efl_text_halign_auto_type_set_static_delegate; private delegate double efl_text_halign_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate double efl_text_halign_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_text_halign_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_halign_get"); private static double halign_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_text_halign_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { double _ret_var = default(double); try { _ret_var = ((ITextFormat)ws.Target).GetHalign(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_halign_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_text_halign_get_delegate efl_text_halign_get_static_delegate; private delegate void efl_text_halign_set_delegate(System.IntPtr obj, System.IntPtr pd, double value); public delegate void efl_text_halign_set_api_delegate(System.IntPtr obj, double value); public static Efl.Eo.FunctionWrapper efl_text_halign_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_halign_set"); private static void halign_set(System.IntPtr obj, System.IntPtr pd, double value) { Eina.Log.Debug("function efl_text_halign_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextFormat)ws.Target).SetHalign(value); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_halign_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value); } } private static efl_text_halign_set_delegate efl_text_halign_set_static_delegate; private delegate double efl_text_valign_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate double efl_text_valign_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_text_valign_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_valign_get"); private static double valign_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_text_valign_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { double _ret_var = default(double); try { _ret_var = ((ITextFormat)ws.Target).GetValign(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_valign_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_text_valign_get_delegate efl_text_valign_get_static_delegate; private delegate void efl_text_valign_set_delegate(System.IntPtr obj, System.IntPtr pd, double value); public delegate void efl_text_valign_set_api_delegate(System.IntPtr obj, double value); public static Efl.Eo.FunctionWrapper efl_text_valign_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_valign_set"); private static void valign_set(System.IntPtr obj, System.IntPtr pd, double value) { Eina.Log.Debug("function efl_text_valign_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextFormat)ws.Target).SetValign(value); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_valign_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value); } } private static efl_text_valign_set_delegate efl_text_valign_set_static_delegate; private delegate double efl_text_linegap_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate double efl_text_linegap_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_text_linegap_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_linegap_get"); private static double linegap_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_text_linegap_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { double _ret_var = default(double); try { _ret_var = ((ITextFormat)ws.Target).GetLinegap(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_linegap_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_text_linegap_get_delegate efl_text_linegap_get_static_delegate; private delegate void efl_text_linegap_set_delegate(System.IntPtr obj, System.IntPtr pd, double value); public delegate void efl_text_linegap_set_api_delegate(System.IntPtr obj, double value); public static Efl.Eo.FunctionWrapper efl_text_linegap_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_linegap_set"); private static void linegap_set(System.IntPtr obj, System.IntPtr pd, double value) { Eina.Log.Debug("function efl_text_linegap_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextFormat)ws.Target).SetLinegap(value); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_linegap_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value); } } private static efl_text_linegap_set_delegate efl_text_linegap_set_static_delegate; private delegate double efl_text_linerelgap_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate double efl_text_linerelgap_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_text_linerelgap_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_linerelgap_get"); private static double linerelgap_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_text_linerelgap_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { double _ret_var = default(double); try { _ret_var = ((ITextFormat)ws.Target).GetLinerelgap(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_linerelgap_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_text_linerelgap_get_delegate efl_text_linerelgap_get_static_delegate; private delegate void efl_text_linerelgap_set_delegate(System.IntPtr obj, System.IntPtr pd, double value); public delegate void efl_text_linerelgap_set_api_delegate(System.IntPtr obj, double value); public static Efl.Eo.FunctionWrapper efl_text_linerelgap_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_linerelgap_set"); private static void linerelgap_set(System.IntPtr obj, System.IntPtr pd, double value) { Eina.Log.Debug("function efl_text_linerelgap_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextFormat)ws.Target).SetLinerelgap(value); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_linerelgap_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value); } } private static efl_text_linerelgap_set_delegate efl_text_linerelgap_set_static_delegate; private delegate int efl_text_tabstops_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate int efl_text_tabstops_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_text_tabstops_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_tabstops_get"); private static int tabstops_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_text_tabstops_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { int _ret_var = default(int); try { _ret_var = ((ITextFormat)ws.Target).GetTabstops(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_tabstops_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_text_tabstops_get_delegate efl_text_tabstops_get_static_delegate; private delegate void efl_text_tabstops_set_delegate(System.IntPtr obj, System.IntPtr pd, int value); public delegate void efl_text_tabstops_set_api_delegate(System.IntPtr obj, int value); public static Efl.Eo.FunctionWrapper efl_text_tabstops_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_tabstops_set"); private static void tabstops_set(System.IntPtr obj, System.IntPtr pd, int value) { Eina.Log.Debug("function efl_text_tabstops_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextFormat)ws.Target).SetTabstops(value); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_tabstops_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value); } } private static efl_text_tabstops_set_delegate efl_text_tabstops_set_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_text_password_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_text_password_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_text_password_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_password_get"); private static bool password_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_text_password_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((ITextFormat)ws.Target).GetPassword(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_password_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_text_password_get_delegate efl_text_password_get_static_delegate; private delegate void efl_text_password_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool enabled); public delegate void efl_text_password_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool enabled); public static Efl.Eo.FunctionWrapper efl_text_password_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_password_set"); private static void password_set(System.IntPtr obj, System.IntPtr pd, bool enabled) { Eina.Log.Debug("function efl_text_password_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextFormat)ws.Target).SetPassword(enabled); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_password_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), enabled); } } private static efl_text_password_set_delegate efl_text_password_set_static_delegate; [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] private delegate System.String efl_text_replacement_char_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] public delegate System.String efl_text_replacement_char_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_text_replacement_char_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_replacement_char_get"); private static System.String replacement_char_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_text_replacement_char_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { System.String _ret_var = default(System.String); try { _ret_var = ((ITextFormat)ws.Target).GetReplacementChar(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_replacement_char_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_text_replacement_char_get_delegate efl_text_replacement_char_get_static_delegate; private delegate void efl_text_replacement_char_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String repch); public delegate void efl_text_replacement_char_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String repch); public static Efl.Eo.FunctionWrapper efl_text_replacement_char_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_replacement_char_set"); private static void replacement_char_set(System.IntPtr obj, System.IntPtr pd, System.String repch) { Eina.Log.Debug("function efl_text_replacement_char_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextFormat)ws.Target).SetReplacementChar(repch); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_replacement_char_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), repch); } } private static efl_text_replacement_char_set_delegate efl_text_replacement_char_set_static_delegate; #pragma warning restore CA1707, CS1591, SA1300, SA1600 } } } #if EFL_BETA #pragma warning disable CS1591 public static class EflITextFormatConcrete_ExtensionMethods { public static Efl.BindableProperty Ellipsis(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFormat { return new Efl.BindableProperty("ellipsis", fac); } public static Efl.BindableProperty Wrap(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFormat { return new Efl.BindableProperty("wrap", fac); } public static Efl.BindableProperty Multiline(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFormat { return new Efl.BindableProperty("multiline", fac); } public static Efl.BindableProperty HalignAutoType(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFormat { return new Efl.BindableProperty("halign_auto_type", fac); } public static Efl.BindableProperty Halign(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFormat { return new Efl.BindableProperty("halign", fac); } public static Efl.BindableProperty Valign(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFormat { return new Efl.BindableProperty("valign", fac); } public static Efl.BindableProperty Linegap(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFormat { return new Efl.BindableProperty("linegap", fac); } public static Efl.BindableProperty Linerelgap(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFormat { return new Efl.BindableProperty("linerelgap", fac); } public static Efl.BindableProperty Tabstops(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFormat { return new Efl.BindableProperty("tabstops", fac); } public static Efl.BindableProperty Password(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFormat { return new Efl.BindableProperty("password", fac); } public static Efl.BindableProperty ReplacementChar(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFormat { return new Efl.BindableProperty("replacement_char", fac); } } #pragma warning restore CS1591 #endif namespace Efl { /// Wrap mode of the text (not in effect if not multiline) [Efl.Eo.BindingEntity] public enum TextFormatWrap { /// No wrapping None = 0, /// Wrap mode character Char = 1, /// Wrap mode word Word = 2, /// Wrap mode mixed Mixed = 3, /// Wrap mode hyphenation Hyphenation = 4, } } namespace Efl { /// Auto-horizontal alignment of the text [Efl.Eo.BindingEntity] public enum TextFormatHorizontalAlignmentAutoType { /// No auto-alignment rule None = 0, /// Respects LTR/RTL (bidirectional) settings Normal = 1, /// Respects locale's langauge settings Locale = 2, /// Text is places at opposite side of LTR/RTL (bidirectional) settings End = 3, } }