#define EFL_BETA #pragma warning disable CS1591 using System; using System.Runtime.InteropServices; using System.Collections.Generic; using System.Linq; using System.Threading; using System.ComponentModel; namespace Efl { namespace Ui { /// Elementary progressbar class /// This is a BETA class. It can be modified or removed in the future. Do not use it for product development. [Efl.Ui.Progressbar.NativeMethods] [Efl.Eo.BindingEntity] public class Progressbar : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.ITextMarkup, Efl.Access.IValue, Efl.Ui.IFormat, Efl.Ui.ILayoutOrientable, Efl.Ui.IRangeDisplay { /// Pointer to the native class description. public override System.IntPtr NativeClass { get { if (((object)this).GetType() == typeof(Progressbar)) { return GetEflClassStatic(); } else { return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; } } } [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr efl_ui_progressbar_class_get(); /// Initializes a new instance of the class. /// Parent instance. /// The widget style to use. See public Progressbar(Efl.Object parent , System.String style = null) : base(efl_ui_progressbar_class_get(), parent) { if (Efl.Eo.Globals.ParamHelperCheck(style)) { SetStyle(Efl.Eo.Globals.GetParamHelper(style)); } FinishInstantiation(); } /// 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. protected Progressbar(ConstructingHandle ch) : base(ch) { } /// Initializes a new instance of the class. /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly. /// The native pointer to be wrapped. protected Progressbar(Efl.Eo.Globals.WrappingHandle wh) : base(wh) { } /// Initializes a new instance of the class. /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly. /// The pointer to the base native Eo class. /// The Efl.Object parent of this instance. protected Progressbar(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent) { } /// Sent after the content is set or unset using the current content object. /// (Since EFL 1.22) /// public event EventHandler ContentChangedEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { Efl.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args(); args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete); try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } /// Method to raise event ContentChangedEvt. public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } IntPtr info = e.arg.NativeHandle; Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); } /// Emitted when the is getting changed. public event EventHandler ChangedEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_RANGE_EVENT_CHANGED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_RANGE_EVENT_CHANGED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } /// Method to raise event ChangedEvt. public void OnChangedEvt(EventArgs e) { var key = "_EFL_UI_RANGE_EVENT_CHANGED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Emitted when the has reached the minimum of . public event EventHandler MinReachedEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_RANGE_EVENT_MIN_REACHED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_RANGE_EVENT_MIN_REACHED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } /// Method to raise event MinReachedEvt. public void OnMinReachedEvt(EventArgs e) { var key = "_EFL_UI_RANGE_EVENT_MIN_REACHED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Emitted when the range_value has reached the maximum of . public event EventHandler MaxReachedEvt { add { lock (eflBindingEventLock) { Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => { var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); } catch (Exception e) { Eina.Log.Error(e.ToString()); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } }; string key = "_EFL_UI_RANGE_EVENT_MAX_REACHED"; AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } remove { lock (eflBindingEventLock) { string key = "_EFL_UI_RANGE_EVENT_MAX_REACHED"; RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } /// Method to raise event MaxReachedEvt. public void OnMaxReachedEvt(EventArgs e) { var key = "_EFL_UI_RANGE_EVENT_MAX_REACHED"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Control whether a given progress bar widget is at "pulsing mode" or not. /// By default progress bars display values from low to high boundaries. There are situations however in which the progress of a given task is unknown. In these cases, you can set a progress bar widget to a "pulsing state" to give the user an idea that some computation is being done without showing the precise progress rate. In the default theme, it will animate the bar with content, switching constantly between filling it and back to non-filled in a loop. To start and stop this pulsing animation you need to explicitly call . /// true to put obj in pulsing mode, false to put it back to its default one virtual public bool GetPulseMode() { var _ret_var = Efl.Ui.Progressbar.NativeMethods.efl_ui_progressbar_pulse_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Control whether a given progress bar widget is at "pulsing mode" or not. /// By default progress bars display values from low to high boundaries. There are situations however in which the progress of a given task is unknown. In these cases, you can set a progress bar widget to a "pulsing state" to give the user an idea that some computation is being done without showing the precise progress rate. In the default theme, it will animate the bar with content, switching constantly between filling it and back to non-filled in a loop. To start and stop this pulsing animation you need to explicitly call . /// true to put obj in pulsing mode, false to put it back to its default one virtual public void SetPulseMode(bool pulse) { Efl.Ui.Progressbar.NativeMethods.efl_ui_progressbar_pulse_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),pulse); Eina.Error.RaiseIfUnhandledException(); } /// Get the pulsing state on a given progressbar widget. See . /// true, to start the pulsing animation, false to stop it virtual public bool GetPulse() { var _ret_var = Efl.Ui.Progressbar.NativeMethods.efl_ui_progressbar_pulse_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Start/stop a given progress bar "pulsing" animation, if its under that mode /// Note: This call won't do anything if obj is not under "pulsing mode". See . /// true, to start the pulsing animation, false to stop it virtual public void SetPulse(bool state) { Efl.Ui.Progressbar.NativeMethods.efl_ui_progressbar_pulse_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),state); Eina.Error.RaiseIfUnhandledException(); } /// Whether a textual progress label is shown alongside the progressbar to give an exact numerical indication of the current progress. /// Not to be confused with the widget label set through . /// true to show the progress label. virtual public bool GetShowProgressLabel() { var _ret_var = Efl.Ui.Progressbar.NativeMethods.efl_ui_progressbar_show_progress_label_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Whether a textual progress label is shown alongside the progressbar to give an exact numerical indication of the current progress. /// Not to be confused with the widget label set through . /// true to show the progress label. virtual public void SetShowProgressLabel(bool show) { Efl.Ui.Progressbar.NativeMethods.efl_ui_progressbar_show_progress_label_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),show); Eina.Error.RaiseIfUnhandledException(); } /// Sub-object currently set as this object's single content. /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid content is set the object will become empty (it will have no sub-object). /// (Since EFL 1.22) /// The sub-object. virtual public Efl.Gfx.IEntity GetContent() { var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Sub-object currently set as this object's single content. /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid content is set the object will become empty (it will have no sub-object). /// (Since EFL 1.22) /// The sub-object. /// true if content was successfully swallowed. virtual public bool SetContent(Efl.Gfx.IEntity content) { var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),content); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Remove the sub-object currently set as content of this object and return it. This object becomes empty. /// (Since EFL 1.22) /// Unswallowed object virtual public Efl.Gfx.IEntity UnsetContent() { var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Retrieves the text string currently being displayed by the given text object. /// Do not free() the return value. /// /// See also . /// (Since EFL 1.22) /// Text string to display on it. virtual public System.String GetText() { var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Sets the text string to be displayed by the given text object. /// See also . /// (Since EFL 1.22) /// Text string to display on it. virtual public void SetText(System.String text) { Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),text); Eina.Error.RaiseIfUnhandledException(); } /// Markup property /// The markup-text representation set to this text. virtual public System.String GetMarkup() { var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Markup property /// The markup-text representation set to this text. virtual public void SetMarkup(System.String markup) { Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),markup); Eina.Error.RaiseIfUnhandledException(); } /// Gets value displayed by a accessible widget. /// Value of widget casted to floating point number. /// string describing value in given context eg. small, enough virtual public void GetValueAndText(out double value, out System.String text) { Efl.Access.IValueConcrete.NativeMethods.efl_access_value_and_text_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out value, out text); Eina.Error.RaiseIfUnhandledException(); } /// Value and text property /// Value of widget casted to floating point number. /// string describing value in given context eg. small, enough /// true if setting widgets value has succeeded, otherwise false . virtual public bool SetValueAndText(double value, System.String text) { var _ret_var = Efl.Access.IValueConcrete.NativeMethods.efl_access_value_and_text_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),value, text); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Gets a range of all possible values and its description /// Lower limit of the range /// Upper limit of the range /// Description of the range virtual public void GetRange(out double lower_limit, out double upper_limit, out System.String description) { Efl.Access.IValueConcrete.NativeMethods.efl_access_value_range_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out lower_limit, out upper_limit, out description); Eina.Error.RaiseIfUnhandledException(); } /// Gets an minimal incrementation value /// Minimal incrementation value virtual public double GetIncrement() { var _ret_var = Efl.Access.IValueConcrete.NativeMethods.efl_access_value_increment_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// User-provided function which takes care of converting an into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities. /// User-provided formatting function. virtual public Efl.Ui.FormatFunc GetFormatFunc() { var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_func_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// User-provided function which takes care of converting an into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities. /// User-provided formatting function. virtual public void SetFormatFunc(Efl.Ui.FormatFunc func) { GCHandle func_handle = GCHandle.Alloc(func); Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_func_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),GCHandle.ToIntPtr(func_handle), Efl.Ui.FormatFuncWrapper.Cb, Efl.Eo.Globals.free_gchandle); Eina.Error.RaiseIfUnhandledException(); } /// User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons. /// Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays. virtual public Eina.Accessor GetFormatValues() { var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_values_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return new Eina.Accessor(_ret_var, false); } /// User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons. /// Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays. virtual public void SetFormatValues(Eina.Accessor values) { var _in_values = values.Handle; Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_values_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_values); Eina.Error.RaiseIfUnhandledException(); } /// A user-provided, string used to format the numerical value. /// For example, "%1.2f meters", "%.0%%" or "%d items". /// /// This is the simplest formatting mechanism, working pretty much like printf. /// /// Different format specifiers (the character after the %) are available, depending on the type used. Use for simple numerical values and for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second. /// /// Pass NULL to disable this mechanism. /// Formatting string containing regular characters and format specifiers. /// Type of formatting string, which controls how the different format specifiers are to be traslated. virtual public void GetFormatString(out System.String kw_string, out Efl.Ui.FormatStringType type) { Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out kw_string, out type); Eina.Error.RaiseIfUnhandledException(); } /// A user-provided, string used to format the numerical value. /// For example, "%1.2f meters", "%.0%%" or "%d items". /// /// This is the simplest formatting mechanism, working pretty much like printf. /// /// Different format specifiers (the character after the %) are available, depending on the type used. Use for simple numerical values and for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second. /// /// Pass NULL to disable this mechanism. /// Formatting string containing regular characters and format specifiers. /// Type of formatting string, which controls how the different format specifiers are to be traslated. virtual public void SetFormatString(System.String kw_string, Efl.Ui.FormatStringType type) { Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_string, type); Eina.Error.RaiseIfUnhandledException(); } /// Internal method to be used by widgets including this mixin to perform the conversion from the internal numerical value into the text representation (Users of these widgets do not need to call this method). /// uses any user-provided mechanism to perform the conversion, according to their priorities, and implements a simple fallback if all mechanisms fail. /// Output formatted string. Its contents will be overwritten by this method. /// The to convert to text. virtual public void GetFormattedValue(Eina.Strbuf str, Eina.Value value) { Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_formatted_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),str, value); Eina.Error.RaiseIfUnhandledException(); } /// Internal method to be used by widgets including this mixin. It can only be used when a has been supplied, and it returns the number of decimal places that the format string will produce for floating point values. /// For example, "%.2f" returns 2, and "%d" returns 0; /// Number of decimal places, or 0 for non-floating point types. virtual public int GetDecimalPlaces() { var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_decimal_places_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Internal method to be implemented by widgets including this mixin. /// The mixin will call this method to signal the widget that the formatting has changed and therefore the current value should be converted and rendered again. Widgets must typically call and display the returned string. This is something they are already doing (whenever the value changes, for example) so there should be no extra code written to implement this method. virtual public void ApplyFormattedValue() { Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_apply_formatted_value_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); } /// Control the direction of a given widget. /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally. /// /// Mirroring as defined in can invert the horizontal direction: it is ltr by default, but becomes rtl if the object is mirrored. /// Direction of the widget. virtual public Efl.Ui.LayoutOrientation GetOrientation() { var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Control the direction of a given widget. /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally. /// /// Mirroring as defined in can invert the horizontal direction: it is ltr by default, but becomes rtl if the object is mirrored. /// Direction of the widget. virtual public void SetOrientation(Efl.Ui.LayoutOrientation dir) { Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir); Eina.Error.RaiseIfUnhandledException(); } /// Control the value (position) of the widget within its valid range. /// Values outside the limits defined in are ignored and an error is printed. /// The range value (must be within the bounds of ). virtual public double GetRangeValue() { var _ret_var = Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Control the value (position) of the widget within its valid range. /// Values outside the limits defined in are ignored and an error is printed. /// The range value (must be within the bounds of ). virtual public void SetRangeValue(double val) { Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_value_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val); Eina.Error.RaiseIfUnhandledException(); } /// Set the minimum and maximum values for given range widget. /// If the current value is less than min, it will be updated to min. If it is bigger then max, will be updated to max. The resulting value can be obtained with . /// /// The default minimum and maximum values may be different for each class. /// /// Note: maximum must be greater than minimum, otherwise behavior is undefined. /// The minimum value. /// The maximum value. virtual public void GetRangeLimits(out double min, out double max) { Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out min, out max); Eina.Error.RaiseIfUnhandledException(); } /// Set the minimum and maximum values for given range widget. /// If the current value is less than min, it will be updated to min. If it is bigger then max, will be updated to max. The resulting value can be obtained with . /// /// The default minimum and maximum values may be different for each class. /// /// Note: maximum must be greater than minimum, otherwise behavior is undefined. /// The minimum value. /// The maximum value. virtual public void SetRangeLimits(double min, double max) { Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),min, max); Eina.Error.RaiseIfUnhandledException(); } /// Control whether a given progress bar widget is at "pulsing mode" or not. /// By default progress bars display values from low to high boundaries. There are situations however in which the progress of a given task is unknown. In these cases, you can set a progress bar widget to a "pulsing state" to give the user an idea that some computation is being done without showing the precise progress rate. In the default theme, it will animate the bar with content, switching constantly between filling it and back to non-filled in a loop. To start and stop this pulsing animation you need to explicitly call . /// true to put obj in pulsing mode, false to put it back to its default one public bool PulseMode { get { return GetPulseMode(); } set { SetPulseMode(value); } } /// Get the pulsing state on a given progressbar widget. See . /// true, to start the pulsing animation, false to stop it public bool Pulse { get { return GetPulse(); } set { SetPulse(value); } } /// Whether a textual progress label is shown alongside the progressbar to give an exact numerical indication of the current progress. /// Not to be confused with the widget label set through . /// true to show the progress label. public bool ShowProgressLabel { get { return GetShowProgressLabel(); } set { SetShowProgressLabel(value); } } /// Sub-object currently set as this object's single content. /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid content is set the object will become empty (it will have no sub-object). /// (Since EFL 1.22) /// The sub-object. public Efl.Gfx.IEntity Content { get { return GetContent(); } set { SetContent(value); } } /// Markup property /// The markup-text representation set to this text. public System.String Markup { get { return GetMarkup(); } set { SetMarkup(value); } } /// Value and text property /// Value of widget casted to floating point number. public (double, System.String) ValueAndText { get { double _out_value = default(double); System.String _out_text = default(System.String); GetValueAndText(out _out_value,out _out_text); return (_out_value,_out_text); } set { SetValueAndText( value.Item1, value.Item2); } } /// Gets a range of all possible values and its description public (double, double, System.String) Range { get { double _out_lower_limit = default(double); double _out_upper_limit = default(double); System.String _out_description = default(System.String); GetRange(out _out_lower_limit,out _out_upper_limit,out _out_description); return (_out_lower_limit,_out_upper_limit,_out_description); } } /// Gets an minimal incrementation value /// Minimal incrementation value public double Increment { get { return GetIncrement(); } } /// User-provided function which takes care of converting an into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities. /// User-provided formatting function. public Efl.Ui.FormatFunc FormatFunc { get { return GetFormatFunc(); } set { SetFormatFunc(value); } } /// User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons. /// Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays. public Eina.Accessor FormatValues { get { return GetFormatValues(); } set { SetFormatValues(value); } } /// A user-provided, string used to format the numerical value. /// For example, "%1.2f meters", "%.0%%" or "%d items". /// /// This is the simplest formatting mechanism, working pretty much like printf. /// /// Different format specifiers (the character after the %) are available, depending on the type used. Use for simple numerical values and for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second. /// /// Pass NULL to disable this mechanism. /// Formatting string containing regular characters and format specifiers. public (System.String, Efl.Ui.FormatStringType) FormatString { get { System.String _out_kw_string = default(System.String); Efl.Ui.FormatStringType _out_type = default(Efl.Ui.FormatStringType); GetFormatString(out _out_kw_string,out _out_type); return (_out_kw_string,_out_type); } set { SetFormatString( value.Item1, value.Item2); } } /// Control the direction of a given widget. /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally. /// /// Mirroring as defined in can invert the horizontal direction: it is ltr by default, but becomes rtl if the object is mirrored. /// Direction of the widget. public Efl.Ui.LayoutOrientation Orientation { get { return GetOrientation(); } set { SetOrientation(value); } } /// Control the value (position) of the widget within its valid range. /// Values outside the limits defined in are ignored and an error is printed. /// The range value (must be within the bounds of ). public double RangeValue { get { return GetRangeValue(); } set { SetRangeValue(value); } } /// Set the minimum and maximum values for given range widget. /// If the current value is less than min, it will be updated to min. If it is bigger then max, will be updated to max. The resulting value can be obtained with . /// /// The default minimum and maximum values may be different for each class. /// /// Note: maximum must be greater than minimum, otherwise behavior is undefined. /// The minimum value. public (double, double) RangeLimits { get { double _out_min = default(double); double _out_max = default(double); GetRangeLimits(out _out_min,out _out_max); return (_out_min,_out_max); } set { SetRangeLimits( value.Item1, value.Item2); } } private static IntPtr GetEflClassStatic() { return Efl.Ui.Progressbar.efl_ui_progressbar_class_get(); } /// Wrapper for native methods and virtual method delegates. /// For internal use by generated code only. public new class NativeMethods : Efl.Ui.LayoutBase.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_ui_progressbar_pulse_mode_get_static_delegate == null) { efl_ui_progressbar_pulse_mode_get_static_delegate = new efl_ui_progressbar_pulse_mode_get_delegate(pulse_mode_get); } if (methods.FirstOrDefault(m => m.Name == "GetPulseMode") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_progressbar_pulse_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_progressbar_pulse_mode_get_static_delegate) }); } if (efl_ui_progressbar_pulse_mode_set_static_delegate == null) { efl_ui_progressbar_pulse_mode_set_static_delegate = new efl_ui_progressbar_pulse_mode_set_delegate(pulse_mode_set); } if (methods.FirstOrDefault(m => m.Name == "SetPulseMode") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_progressbar_pulse_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_progressbar_pulse_mode_set_static_delegate) }); } if (efl_ui_progressbar_pulse_get_static_delegate == null) { efl_ui_progressbar_pulse_get_static_delegate = new efl_ui_progressbar_pulse_get_delegate(pulse_get); } if (methods.FirstOrDefault(m => m.Name == "GetPulse") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_progressbar_pulse_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_progressbar_pulse_get_static_delegate) }); } if (efl_ui_progressbar_pulse_set_static_delegate == null) { efl_ui_progressbar_pulse_set_static_delegate = new efl_ui_progressbar_pulse_set_delegate(pulse_set); } if (methods.FirstOrDefault(m => m.Name == "SetPulse") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_progressbar_pulse_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_progressbar_pulse_set_static_delegate) }); } if (efl_ui_progressbar_show_progress_label_get_static_delegate == null) { efl_ui_progressbar_show_progress_label_get_static_delegate = new efl_ui_progressbar_show_progress_label_get_delegate(show_progress_label_get); } if (methods.FirstOrDefault(m => m.Name == "GetShowProgressLabel") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_progressbar_show_progress_label_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_progressbar_show_progress_label_get_static_delegate) }); } if (efl_ui_progressbar_show_progress_label_set_static_delegate == null) { efl_ui_progressbar_show_progress_label_set_static_delegate = new efl_ui_progressbar_show_progress_label_set_delegate(show_progress_label_set); } if (methods.FirstOrDefault(m => m.Name == "SetShowProgressLabel") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_progressbar_show_progress_label_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_progressbar_show_progress_label_set_static_delegate) }); } if (efl_content_get_static_delegate == null) { efl_content_get_static_delegate = new efl_content_get_delegate(content_get); } if (methods.FirstOrDefault(m => m.Name == "GetContent") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) }); } if (efl_content_set_static_delegate == null) { efl_content_set_static_delegate = new efl_content_set_delegate(content_set); } if (methods.FirstOrDefault(m => m.Name == "SetContent") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) }); } if (efl_content_unset_static_delegate == null) { efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset); } if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) }); } if (efl_text_get_static_delegate == null) { efl_text_get_static_delegate = new efl_text_get_delegate(text_get); } if (methods.FirstOrDefault(m => m.Name == "GetText") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_get_static_delegate) }); } if (efl_text_set_static_delegate == null) { efl_text_set_static_delegate = new efl_text_set_delegate(text_set); } if (methods.FirstOrDefault(m => m.Name == "SetText") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_set_static_delegate) }); } if (efl_text_markup_get_static_delegate == null) { efl_text_markup_get_static_delegate = new efl_text_markup_get_delegate(markup_get); } if (methods.FirstOrDefault(m => m.Name == "GetMarkup") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_get_static_delegate) }); } if (efl_text_markup_set_static_delegate == null) { efl_text_markup_set_static_delegate = new efl_text_markup_set_delegate(markup_set); } if (methods.FirstOrDefault(m => m.Name == "SetMarkup") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_set_static_delegate) }); } if (efl_access_value_and_text_get_static_delegate == null) { efl_access_value_and_text_get_static_delegate = new efl_access_value_and_text_get_delegate(value_and_text_get); } if (methods.FirstOrDefault(m => m.Name == "GetValueAndText") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_value_and_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_value_and_text_get_static_delegate) }); } if (efl_access_value_and_text_set_static_delegate == null) { efl_access_value_and_text_set_static_delegate = new efl_access_value_and_text_set_delegate(value_and_text_set); } if (methods.FirstOrDefault(m => m.Name == "SetValueAndText") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_value_and_text_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_value_and_text_set_static_delegate) }); } if (efl_access_value_range_get_static_delegate == null) { efl_access_value_range_get_static_delegate = new efl_access_value_range_get_delegate(range_get); } if (methods.FirstOrDefault(m => m.Name == "GetRange") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_value_range_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_value_range_get_static_delegate) }); } if (efl_access_value_increment_get_static_delegate == null) { efl_access_value_increment_get_static_delegate = new efl_access_value_increment_get_delegate(increment_get); } if (methods.FirstOrDefault(m => m.Name == "GetIncrement") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_access_value_increment_get"), func = Marshal.GetFunctionPointerForDelegate(efl_access_value_increment_get_static_delegate) }); } if (efl_ui_format_func_get_static_delegate == null) { efl_ui_format_func_get_static_delegate = new efl_ui_format_func_get_delegate(format_func_get); } if (methods.FirstOrDefault(m => m.Name == "GetFormatFunc") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_func_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_func_get_static_delegate) }); } if (efl_ui_format_func_set_static_delegate == null) { efl_ui_format_func_set_static_delegate = new efl_ui_format_func_set_delegate(format_func_set); } if (methods.FirstOrDefault(m => m.Name == "SetFormatFunc") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_func_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_func_set_static_delegate) }); } if (efl_ui_format_values_get_static_delegate == null) { efl_ui_format_values_get_static_delegate = new efl_ui_format_values_get_delegate(format_values_get); } if (methods.FirstOrDefault(m => m.Name == "GetFormatValues") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_values_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_values_get_static_delegate) }); } if (efl_ui_format_values_set_static_delegate == null) { efl_ui_format_values_set_static_delegate = new efl_ui_format_values_set_delegate(format_values_set); } if (methods.FirstOrDefault(m => m.Name == "SetFormatValues") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_values_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_values_set_static_delegate) }); } if (efl_ui_format_string_get_static_delegate == null) { efl_ui_format_string_get_static_delegate = new efl_ui_format_string_get_delegate(format_string_get); } if (methods.FirstOrDefault(m => m.Name == "GetFormatString") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_string_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_string_get_static_delegate) }); } if (efl_ui_format_string_set_static_delegate == null) { efl_ui_format_string_set_static_delegate = new efl_ui_format_string_set_delegate(format_string_set); } if (methods.FirstOrDefault(m => m.Name == "SetFormatString") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_string_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_string_set_static_delegate) }); } if (efl_ui_format_formatted_value_get_static_delegate == null) { efl_ui_format_formatted_value_get_static_delegate = new efl_ui_format_formatted_value_get_delegate(formatted_value_get); } if (methods.FirstOrDefault(m => m.Name == "GetFormattedValue") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_formatted_value_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_formatted_value_get_static_delegate) }); } if (efl_ui_format_decimal_places_get_static_delegate == null) { efl_ui_format_decimal_places_get_static_delegate = new efl_ui_format_decimal_places_get_delegate(decimal_places_get); } if (methods.FirstOrDefault(m => m.Name == "GetDecimalPlaces") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_decimal_places_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_decimal_places_get_static_delegate) }); } if (efl_ui_format_apply_formatted_value_static_delegate == null) { efl_ui_format_apply_formatted_value_static_delegate = new efl_ui_format_apply_formatted_value_delegate(apply_formatted_value); } if (methods.FirstOrDefault(m => m.Name == "ApplyFormattedValue") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_apply_formatted_value"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_apply_formatted_value_static_delegate) }); } if (efl_ui_layout_orientation_get_static_delegate == null) { efl_ui_layout_orientation_get_static_delegate = new efl_ui_layout_orientation_get_delegate(orientation_get); } if (methods.FirstOrDefault(m => m.Name == "GetOrientation") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_get_static_delegate) }); } if (efl_ui_layout_orientation_set_static_delegate == null) { efl_ui_layout_orientation_set_static_delegate = new efl_ui_layout_orientation_set_delegate(orientation_set); } if (methods.FirstOrDefault(m => m.Name == "SetOrientation") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_set_static_delegate) }); } if (efl_ui_range_value_get_static_delegate == null) { efl_ui_range_value_get_static_delegate = new efl_ui_range_value_get_delegate(range_value_get); } if (methods.FirstOrDefault(m => m.Name == "GetRangeValue") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_value_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_value_get_static_delegate) }); } if (efl_ui_range_value_set_static_delegate == null) { efl_ui_range_value_set_static_delegate = new efl_ui_range_value_set_delegate(range_value_set); } if (methods.FirstOrDefault(m => m.Name == "SetRangeValue") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_value_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_value_set_static_delegate) }); } if (efl_ui_range_limits_get_static_delegate == null) { efl_ui_range_limits_get_static_delegate = new efl_ui_range_limits_get_delegate(range_limits_get); } if (methods.FirstOrDefault(m => m.Name == "GetRangeLimits") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_limits_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_limits_get_static_delegate) }); } if (efl_ui_range_limits_set_static_delegate == null) { efl_ui_range_limits_set_static_delegate = new efl_ui_range_limits_set_delegate(range_limits_set); } if (methods.FirstOrDefault(m => m.Name == "SetRangeLimits") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_limits_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_limits_set_static_delegate) }); } descs.AddRange(base.GetEoOps(type)); return descs; } /// Returns the Eo class for the native methods of this class. /// The native class pointer. public override IntPtr GetEflClass() { return Efl.Ui.Progressbar.efl_ui_progressbar_class_get(); } #pragma warning disable CA1707, CS1591, SA1300, SA1600 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_progressbar_pulse_mode_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_progressbar_pulse_mode_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_progressbar_pulse_mode_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_progressbar_pulse_mode_get"); private static bool pulse_mode_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_progressbar_pulse_mode_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((Progressbar)ws.Target).GetPulseMode(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_progressbar_pulse_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_progressbar_pulse_mode_get_delegate efl_ui_progressbar_pulse_mode_get_static_delegate; private delegate void efl_ui_progressbar_pulse_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool pulse); public delegate void efl_ui_progressbar_pulse_mode_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool pulse); public static Efl.Eo.FunctionWrapper efl_ui_progressbar_pulse_mode_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_progressbar_pulse_mode_set"); private static void pulse_mode_set(System.IntPtr obj, System.IntPtr pd, bool pulse) { Eina.Log.Debug("function efl_ui_progressbar_pulse_mode_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Progressbar)ws.Target).SetPulseMode(pulse); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_progressbar_pulse_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pulse); } } private static efl_ui_progressbar_pulse_mode_set_delegate efl_ui_progressbar_pulse_mode_set_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_progressbar_pulse_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_progressbar_pulse_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_progressbar_pulse_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_progressbar_pulse_get"); private static bool pulse_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_progressbar_pulse_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((Progressbar)ws.Target).GetPulse(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_progressbar_pulse_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_progressbar_pulse_get_delegate efl_ui_progressbar_pulse_get_static_delegate; private delegate void efl_ui_progressbar_pulse_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool state); public delegate void efl_ui_progressbar_pulse_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool state); public static Efl.Eo.FunctionWrapper efl_ui_progressbar_pulse_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_progressbar_pulse_set"); private static void pulse_set(System.IntPtr obj, System.IntPtr pd, bool state) { Eina.Log.Debug("function efl_ui_progressbar_pulse_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Progressbar)ws.Target).SetPulse(state); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_progressbar_pulse_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), state); } } private static efl_ui_progressbar_pulse_set_delegate efl_ui_progressbar_pulse_set_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_ui_progressbar_show_progress_label_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_ui_progressbar_show_progress_label_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_progressbar_show_progress_label_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_progressbar_show_progress_label_get"); private static bool show_progress_label_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_progressbar_show_progress_label_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((Progressbar)ws.Target).GetShowProgressLabel(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_progressbar_show_progress_label_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_progressbar_show_progress_label_get_delegate efl_ui_progressbar_show_progress_label_get_static_delegate; private delegate void efl_ui_progressbar_show_progress_label_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool show); public delegate void efl_ui_progressbar_show_progress_label_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool show); public static Efl.Eo.FunctionWrapper efl_ui_progressbar_show_progress_label_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_progressbar_show_progress_label_set"); private static void show_progress_label_set(System.IntPtr obj, System.IntPtr pd, bool show) { Eina.Log.Debug("function efl_ui_progressbar_show_progress_label_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Progressbar)ws.Target).SetShowProgressLabel(show); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_progressbar_show_progress_label_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), show); } } private static efl_ui_progressbar_show_progress_label_set_delegate efl_ui_progressbar_show_progress_label_set_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Gfx.IEntity efl_content_get_delegate(System.IntPtr obj, System.IntPtr pd); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_content_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_content_get"); private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_content_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity); try { _ret_var = ((Progressbar)ws.Target).GetContent(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_content_get_delegate efl_content_get_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity content); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity content); public static Efl.Eo.FunctionWrapper efl_content_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_content_set"); private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content) { Eina.Log.Debug("function efl_content_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((Progressbar)ws.Target).SetContent(content); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content); } } private static efl_content_set_delegate efl_content_set_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_content_unset_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_content_unset"); private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_content_unset was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity); try { _ret_var = ((Progressbar)ws.Target).UnsetContent(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_content_unset_delegate efl_content_unset_static_delegate; [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] private delegate System.String efl_text_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] public delegate System.String efl_text_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_text_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_get"); private static System.String text_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_text_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { System.String _ret_var = default(System.String); try { _ret_var = ((Progressbar)ws.Target).GetText(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_text_get_delegate efl_text_get_static_delegate; private delegate void efl_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text); public delegate void efl_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text); public static Efl.Eo.FunctionWrapper efl_text_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_set"); private static void text_set(System.IntPtr obj, System.IntPtr pd, System.String text) { Eina.Log.Debug("function efl_text_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Progressbar)ws.Target).SetText(text); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), text); } } private static efl_text_set_delegate efl_text_set_static_delegate; [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] private delegate System.String efl_text_markup_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] public delegate System.String efl_text_markup_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_text_markup_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_markup_get"); private static System.String markup_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_text_markup_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { System.String _ret_var = default(System.String); try { _ret_var = ((Progressbar)ws.Target).GetMarkup(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_markup_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_text_markup_get_delegate efl_text_markup_get_static_delegate; private delegate void efl_text_markup_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup); public delegate void efl_text_markup_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup); public static Efl.Eo.FunctionWrapper efl_text_markup_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_markup_set"); private static void markup_set(System.IntPtr obj, System.IntPtr pd, System.String markup) { Eina.Log.Debug("function efl_text_markup_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Progressbar)ws.Target).SetMarkup(markup); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_markup_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), markup); } } private static efl_text_markup_set_delegate efl_text_markup_set_static_delegate; private delegate void efl_access_value_and_text_get_delegate(System.IntPtr obj, System.IntPtr pd, out double value, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String text); public delegate void efl_access_value_and_text_get_api_delegate(System.IntPtr obj, out double value, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String text); public static Efl.Eo.FunctionWrapper efl_access_value_and_text_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_value_and_text_get"); private static void value_and_text_get(System.IntPtr obj, System.IntPtr pd, out double value, out System.String text) { Eina.Log.Debug("function efl_access_value_and_text_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { value = default(double); System.String _out_text = default(System.String); try { ((Progressbar)ws.Target).GetValueAndText(out value, out _out_text); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } text = _out_text; } else { efl_access_value_and_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out value, out text); } } private static efl_access_value_and_text_get_delegate efl_access_value_and_text_get_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_access_value_and_text_set_delegate(System.IntPtr obj, System.IntPtr pd, double value, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_access_value_and_text_set_api_delegate(System.IntPtr obj, double value, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text); public static Efl.Eo.FunctionWrapper efl_access_value_and_text_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_value_and_text_set"); private static bool value_and_text_set(System.IntPtr obj, System.IntPtr pd, double value, System.String text) { Eina.Log.Debug("function efl_access_value_and_text_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((Progressbar)ws.Target).SetValueAndText(value, text); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_access_value_and_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value, text); } } private static efl_access_value_and_text_set_delegate efl_access_value_and_text_set_static_delegate; private delegate void efl_access_value_range_get_delegate(System.IntPtr obj, System.IntPtr pd, out double lower_limit, out double upper_limit, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String description); public delegate void efl_access_value_range_get_api_delegate(System.IntPtr obj, out double lower_limit, out double upper_limit, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String description); public static Efl.Eo.FunctionWrapper efl_access_value_range_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_value_range_get"); private static void range_get(System.IntPtr obj, System.IntPtr pd, out double lower_limit, out double upper_limit, out System.String description) { Eina.Log.Debug("function efl_access_value_range_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { lower_limit = default(double); upper_limit = default(double); System.String _out_description = default(System.String); try { ((Progressbar)ws.Target).GetRange(out lower_limit, out upper_limit, out _out_description); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } description = _out_description; } else { efl_access_value_range_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out lower_limit, out upper_limit, out description); } } private static efl_access_value_range_get_delegate efl_access_value_range_get_static_delegate; private delegate double efl_access_value_increment_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate double efl_access_value_increment_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_access_value_increment_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_access_value_increment_get"); private static double increment_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_access_value_increment_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { double _ret_var = default(double); try { _ret_var = ((Progressbar)ws.Target).GetIncrement(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_access_value_increment_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_access_value_increment_get_delegate efl_access_value_increment_get_static_delegate; private delegate Efl.Ui.FormatFunc efl_ui_format_func_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Efl.Ui.FormatFunc efl_ui_format_func_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_format_func_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_format_func_get"); private static Efl.Ui.FormatFunc format_func_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_format_func_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Ui.FormatFunc _ret_var = default(Efl.Ui.FormatFunc); try { _ret_var = ((Progressbar)ws.Target).GetFormatFunc(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_format_func_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_format_func_get_delegate efl_ui_format_func_get_static_delegate; private delegate void efl_ui_format_func_set_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb); public delegate void efl_ui_format_func_set_api_delegate(System.IntPtr obj, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb); public static Efl.Eo.FunctionWrapper efl_ui_format_func_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_format_func_set"); private static void format_func_set(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb) { Eina.Log.Debug("function efl_ui_format_func_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Ui.FormatFuncWrapper func_wrapper = new Efl.Ui.FormatFuncWrapper(func, func_data, func_free_cb); try { ((Progressbar)ws.Target).SetFormatFunc(func_wrapper.ManagedCb); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_format_func_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), func_data, func, func_free_cb); } } private static efl_ui_format_func_set_delegate efl_ui_format_func_set_static_delegate; private delegate System.IntPtr efl_ui_format_values_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate System.IntPtr efl_ui_format_values_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_format_values_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_format_values_get"); private static System.IntPtr format_values_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_format_values_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Eina.Accessor _ret_var = default(Eina.Accessor); try { _ret_var = ((Progressbar)ws.Target).GetFormatValues(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var.Handle; } else { return efl_ui_format_values_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_format_values_get_delegate efl_ui_format_values_get_static_delegate; private delegate void efl_ui_format_values_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr values); public delegate void efl_ui_format_values_set_api_delegate(System.IntPtr obj, System.IntPtr values); public static Efl.Eo.FunctionWrapper efl_ui_format_values_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_format_values_set"); private static void format_values_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr values) { Eina.Log.Debug("function efl_ui_format_values_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { var _in_values = new Eina.Accessor(values, false); try { ((Progressbar)ws.Target).SetFormatValues(_in_values); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_format_values_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), values); } } private static efl_ui_format_values_set_delegate efl_ui_format_values_set_static_delegate; private delegate void efl_ui_format_string_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String kw_string, out Efl.Ui.FormatStringType type); public delegate void efl_ui_format_string_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String kw_string, out Efl.Ui.FormatStringType type); public static Efl.Eo.FunctionWrapper efl_ui_format_string_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_format_string_get"); private static void format_string_get(System.IntPtr obj, System.IntPtr pd, out System.String kw_string, out Efl.Ui.FormatStringType type) { Eina.Log.Debug("function efl_ui_format_string_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { System.String _out_kw_string = default(System.String); type = default(Efl.Ui.FormatStringType); try { ((Progressbar)ws.Target).GetFormatString(out _out_kw_string, out type); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } kw_string = _out_kw_string; } else { efl_ui_format_string_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out kw_string, out type); } } private static efl_ui_format_string_get_delegate efl_ui_format_string_get_static_delegate; private delegate void efl_ui_format_string_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_string, Efl.Ui.FormatStringType type); public delegate void efl_ui_format_string_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_string, Efl.Ui.FormatStringType type); public static Efl.Eo.FunctionWrapper efl_ui_format_string_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_format_string_set"); private static void format_string_set(System.IntPtr obj, System.IntPtr pd, System.String kw_string, Efl.Ui.FormatStringType type) { Eina.Log.Debug("function efl_ui_format_string_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Progressbar)ws.Target).SetFormatString(kw_string, type); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_format_string_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), kw_string, type); } } private static efl_ui_format_string_set_delegate efl_ui_format_string_set_static_delegate; private delegate void efl_ui_format_formatted_value_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value); public delegate void efl_ui_format_formatted_value_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value); public static Efl.Eo.FunctionWrapper efl_ui_format_formatted_value_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_format_formatted_value_get"); private static void formatted_value_get(System.IntPtr obj, System.IntPtr pd, Eina.Strbuf str, Eina.ValueNative value) { Eina.Log.Debug("function efl_ui_format_formatted_value_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Progressbar)ws.Target).GetFormattedValue(str, value); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_format_formatted_value_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), str, value); } } private static efl_ui_format_formatted_value_get_delegate efl_ui_format_formatted_value_get_static_delegate; private delegate int efl_ui_format_decimal_places_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate int efl_ui_format_decimal_places_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_format_decimal_places_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_format_decimal_places_get"); private static int decimal_places_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_format_decimal_places_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { int _ret_var = default(int); try { _ret_var = ((Progressbar)ws.Target).GetDecimalPlaces(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_format_decimal_places_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_format_decimal_places_get_delegate efl_ui_format_decimal_places_get_static_delegate; private delegate void efl_ui_format_apply_formatted_value_delegate(System.IntPtr obj, System.IntPtr pd); public delegate void efl_ui_format_apply_formatted_value_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_format_apply_formatted_value_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_format_apply_formatted_value"); private static void apply_formatted_value(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_format_apply_formatted_value was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Progressbar)ws.Target).ApplyFormattedValue(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_format_apply_formatted_value_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_format_apply_formatted_value_delegate efl_ui_format_apply_formatted_value_static_delegate; private delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_layout_orientation_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_layout_orientation_get"); private static Efl.Ui.LayoutOrientation orientation_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_layout_orientation_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Ui.LayoutOrientation _ret_var = default(Efl.Ui.LayoutOrientation); try { _ret_var = ((Progressbar)ws.Target).GetOrientation(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_layout_orientation_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_layout_orientation_get_delegate efl_ui_layout_orientation_get_static_delegate; private delegate void efl_ui_layout_orientation_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir); public delegate void efl_ui_layout_orientation_set_api_delegate(System.IntPtr obj, Efl.Ui.LayoutOrientation dir); public static Efl.Eo.FunctionWrapper efl_ui_layout_orientation_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_layout_orientation_set"); private static void orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir) { Eina.Log.Debug("function efl_ui_layout_orientation_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Progressbar)ws.Target).SetOrientation(dir); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_layout_orientation_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dir); } } private static efl_ui_layout_orientation_set_delegate efl_ui_layout_orientation_set_static_delegate; private delegate double efl_ui_range_value_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate double efl_ui_range_value_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_ui_range_value_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_value_get"); private static double range_value_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_ui_range_value_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { double _ret_var = default(double); try { _ret_var = ((Progressbar)ws.Target).GetRangeValue(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_ui_range_value_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_ui_range_value_get_delegate efl_ui_range_value_get_static_delegate; private delegate void efl_ui_range_value_set_delegate(System.IntPtr obj, System.IntPtr pd, double val); public delegate void efl_ui_range_value_set_api_delegate(System.IntPtr obj, double val); public static Efl.Eo.FunctionWrapper efl_ui_range_value_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_value_set"); private static void range_value_set(System.IntPtr obj, System.IntPtr pd, double val) { Eina.Log.Debug("function efl_ui_range_value_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Progressbar)ws.Target).SetRangeValue(val); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_range_value_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val); } } private static efl_ui_range_value_set_delegate efl_ui_range_value_set_static_delegate; private delegate void efl_ui_range_limits_get_delegate(System.IntPtr obj, System.IntPtr pd, out double min, out double max); public delegate void efl_ui_range_limits_get_api_delegate(System.IntPtr obj, out double min, out double max); public static Efl.Eo.FunctionWrapper efl_ui_range_limits_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_limits_get"); private static void range_limits_get(System.IntPtr obj, System.IntPtr pd, out double min, out double max) { Eina.Log.Debug("function efl_ui_range_limits_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { min = default(double); max = default(double); try { ((Progressbar)ws.Target).GetRangeLimits(out min, out max); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_range_limits_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out min, out max); } } private static efl_ui_range_limits_get_delegate efl_ui_range_limits_get_static_delegate; private delegate void efl_ui_range_limits_set_delegate(System.IntPtr obj, System.IntPtr pd, double min, double max); public delegate void efl_ui_range_limits_set_api_delegate(System.IntPtr obj, double min, double max); public static Efl.Eo.FunctionWrapper efl_ui_range_limits_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_limits_set"); private static void range_limits_set(System.IntPtr obj, System.IntPtr pd, double min, double max) { Eina.Log.Debug("function efl_ui_range_limits_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Progressbar)ws.Target).SetRangeLimits(min, max); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_ui_range_limits_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min, max); } } private static efl_ui_range_limits_set_delegate efl_ui_range_limits_set_static_delegate; #pragma warning restore CA1707, CS1591, SA1300, SA1600 } } } } #if EFL_BETA #pragma warning disable CS1591 public static class Efl_UiProgressbar_ExtensionMethods { public static Efl.BindableProperty PulseMode(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Progressbar { return new Efl.BindableProperty("pulse_mode", fac); } public static Efl.BindableProperty Pulse(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Progressbar { return new Efl.BindableProperty("pulse", fac); } public static Efl.BindableProperty ShowProgressLabel(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Progressbar { return new Efl.BindableProperty("show_progress_label", fac); } public static Efl.BindableProperty Content(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Progressbar { return new Efl.BindableProperty("content", fac); } public static Efl.BindableProperty Markup(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Progressbar { return new Efl.BindableProperty("markup", fac); } public static Efl.BindableProperty FormatFunc(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Progressbar { return new Efl.BindableProperty("format_func", fac); } public static Efl.BindableProperty> FormatValues(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Progressbar { return new Efl.BindableProperty>("format_values", fac); } public static Efl.BindableProperty Orientation(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Progressbar { return new Efl.BindableProperty("orientation", fac); } public static Efl.BindableProperty RangeValue(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Progressbar { return new Efl.BindableProperty("range_value", fac); } } #pragma warning restore CS1591 #endif